|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Job and ExeLet's say you have a Sql Server Agent job (on 2000) that runs an executable,
i.e. a .exe and is failing because it does not have permission to the folder. Here are my questions: 1. What permissions does Sql Server Agent run under, the permissions of the Sql Server agent itself? 2. Will the executable run under the permissions of the logged in user to the box or under the permissions of the Sql Server Agent or both? 3. Any comments/suggestions? I'm a bit 'fuzzy' on this, but as I recall...
With SQL 2000, SQL Agent Jobs run under the SQL Agent security account -UNLESS a proxy account has been established. CmdExec (xp_cmdshell) steps require sysadmin (local administrator) level privileges. Jobs can only be managed by the job owner or sysadmin role. -- Show quoteArnie Rowland, Ph.D. Westwood Consulting, Inc Most good judgment comes from experience. Most experience comes from bad judgment. - Anonymous "CLM" <C**@discussions.microsoft.com> wrote in message news:D9A8C126-F78D-4807-B824-C4EEDD32ABB1@microsoft.com... > Let's say you have a Sql Server Agent job (on 2000) that runs an > executable, > i.e. a .exe and is failing because it does not have permission to the > folder. > Here are my questions: > > 1. What permissions does Sql Server Agent run under, the permissions of > the > Sql Server agent itself? > 2. Will the executable run under the permissions of the logged in user to > the box or under the permissions of the Sql Server Agent or both? > 3. Any comments/suggestions? These should explain it. Even though the firstone used DTS the principles
are the same: http://www.support.microsoft.com/?id=269074 How to Run a DTS Package as a Scheduled Job http://www.support.microsoft.com/?id=890775 How to enable no sa's to run xp_cmdshell -- Show quoteAndrew J. Kelly SQL MVP "CLM" <C**@discussions.microsoft.com> wrote in message news:D9A8C126-F78D-4807-B824-C4EEDD32ABB1@microsoft.com... > Let's say you have a Sql Server Agent job (on 2000) that runs an > executable, > i.e. a .exe and is failing because it does not have permission to the > folder. > Here are my questions: > > 1. What permissions does Sql Server Agent run under, the permissions of > the > Sql Server agent itself? > 2. Will the executable run under the permissions of the logged in user to > the box or under the permissions of the Sql Server Agent or both? > 3. Any comments/suggestions? |
|||||||||||||||||||||||