rights to execute single sql server2008  job

Posted on 2011-02-18
Last Modified: 2012-05-11
Have a user - he doesn’t have sysadmin rights, only process admin, doing testing, needs rights to execute a single job. I didn’t want him to have access and rights to other jobs or more rights than needed. He is only a data reader for an associated user database
So, can I grant the user rights to execute a single sql server job? How can i do this
Question by:sqlserverdba
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 40

Accepted Solution

lcohan earned 500 total points
ID: 34928248
If he's the owner then he can see it without having to be sysadmin:

How to: Give Others Ownership of a Job (SQL Server Management Studio)

Author Comment

ID: 34929197
because he doesn't have enough rights, he cannot see the sql agent and the jobs. the only rights he has is process admin at server level and data reader for a user database.
LVL 40

Assisted Solution

lcohan earned 500 total points
ID: 34929606
If user cant see agent there are other ways to start a job - i.e sp_start_job

By default, members of the sysadmin fixed server role can execute this stored procedure. Other users must be granted one of the following SQL Server Agent fixed database roles in the msdb database:


Author Comment

ID: 34929838
yes, but the problem is agentreader role doesnt help starting the job

agentuser role helps to see and start the job when the person has been assigned ownership but still the
job fails with the message "Non-SysAdmins have been denied permission to run
DTS Execution job steps without a proxy account.  The step failed."

agentoperatorrole gives permissions on starting, modifying other jobs
LVL 40

Assisted Solution

lcohan earned 500 total points
ID: 34929922
Sorry is hard sometimes to advice without the whole picture/details and I believe that you need to create a proxy account in that case as per documentation "Creating SQL Server Agent Proxies"

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Can I skip a node in XML? 9 46
denied execute as 13 55
T-SQL: Need a database plan to mine a pretty big Log table 4 45
How to add an Index to a date/time field? 15 39
There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question