SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Owners of SQL Agent Accounts
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

WJHamel
Aged Yak Warrior

USA
644 Posts

Posted - 04/24/2013 :  13:36:43  Show Profile  Reply with Quote
921 people work here and NO ONE can figure out WHY this is happening.

In trying to run SQL Agent Jobs, either SQL 2008 or 2005, the job defaults to run under my account (or whichever dba is building the job). The job inexorably fails with those accounts. The only other account to choose is NT Authority/System. The job will run under that account, but as soon as any of us open the job to modify it, it automatically changes the ownership back to the account which will cause it to fail.

We've been told to set up Agent jobs under the same account that the MSSQLSERVER service is running under. When we look at the MSSQLSERVER Service, it is running under "Local System Policy". Running the agent jobs under NT Authority / System is a security violation (I work for the Government).

Please end this madness!!!!

Lamprey
Flowing Fount of Yak Knowledge

4613 Posts

Posted - 04/24/2013 :  14:10:12  Show Profile  Reply with Quote
My understanding is that if you don't pick the Run As on the job step, it is going to run under the same credintials as the SQL Server Agent service runs under. Why it would be chaning that value when you open the job, I'm not sure. But, If you need the job step to run under a different context you should set up a Proxy.
Go to Top of Page

WJHamel
Aged Yak Warrior

USA
644 Posts

Posted - 04/24/2013 :  14:42:25  Show Profile  Reply with Quote
Agent is running under "Local System Policy" also.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000