Solved

'NT AUTHORITY\SYSTEM' get converted to 'NT AUTHORITY\NETWORK SERVICE'

Posted on 2010-09-10
6
251 Views
Last Modified: 2012-05-10
even if the job is at System, it gets converted to NS; why is this? what setting causes this?

thanks
0
Comment
Question by:anushahanna
  • 3
  • 3
6 Comments
 
LVL 11

Expert Comment

by:dodge20
ID: 33650306
I'm not quite sure what you are asking, but what account is your agent started as?
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33661674
the job owner is NT AUTHORITY\SYSTEM; the service account is NETWORK SERVICE.

in the audit info of who created the data record through the job, it shows NETWORK SERVICE and not SYSTEM.
0
 
LVL 11

Expert Comment

by:dodge20
ID: 33661972
SQL Jobs run under whichever account the Agent runs. This is why you see Network Service. Is the job not working correctly? You may need to choose an account with the appropriate permissions to run the sql agent.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 6

Author Comment

by:anushahanna
ID: 33664339
dodge20, the job is working fine, but the question is regarding the ownership of the job. if it is going to override the owner with the service account, why does it even give us the option to change owners?
thanks
0
 
LVL 11

Accepted Solution

by:
dodge20 earned 500 total points
ID: 33664920
If the job owner is an account that is in the sysadmin fixed server role, then your step will be executed under the account used by the Sql Server Agent service.
Otherwise will be executed by the account set as the job owner, no matter who is starting the job.

You can read more about that here.
http://weblogs.sqlteam.com/dmauri/articles/6914.aspx
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33694355
>>Otherwise will be executed by the account set as the job owner, no matter who is starting the job.

is it possible to force it to run under the one who is 'starting' the job instead of the job owner?

thanks

0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how the fundamental information of how to create a table.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now