SQL Server Agent Proxy Account / XP_CMDSHELL
From: John - PDX (JohnPDX_at_discussions.microsoft.com)
Date: 05/26/05
- Previous message: Rick: "Re: listening on... interfaces"
- Next in thread: Dan Guzman: "Re: SQL Server Agent Proxy Account / XP_CMDSHELL"
- Reply: Dan Guzman: "Re: SQL Server Agent Proxy Account / XP_CMDSHELL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 26 May 2005 11:48:01 -0700
Thanks in advance.
I am trying to run the xp_cmdshell and am calling it with osql from a batch
file for a user. I have set the sql server agent proxy account with an
account that is both a domain admin & sql sysadmin (in our dev lab only) and
still I get EXECUTE permission denied.
I can make the user a sysadmin for test purposes only and all works fine. I
can also go directly to the xp_cmdshell permissions, give the user execute
permissions and all works OK there as well.
In reasearching this issue I should be able to set the sql server agent
proxy account and then my user should be able to run the batch file that runs
the osql that calls the sp that runs the xp_cmdshell - correct?
-- Thanks, John
- Previous message: Rick: "Re: listening on... interfaces"
- Next in thread: Dan Guzman: "Re: SQL Server Agent Proxy Account / XP_CMDSHELL"
- Reply: Dan Guzman: "Re: SQL Server Agent Proxy Account / XP_CMDSHELL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|