Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System Admin rights for ext'd stored proc 1

Status
Not open for further replies.

swhitten

Technical User
Sep 3, 2002
191
US
We have a custom program that is calling the extended stored procedure xp_cmdshell. The only way we've been able to get it to successfully run is by giving the user the System Administrator server role.

We tried setting the user up to have the DBO role on the master database and giving the user exec rights to xp_cmdshell, but that still did not allow it to run.

We don't want to assign the System Administrator role to every user who has to run this program. What alternatives do we have?

Thanks in advance for your help.

Sherry
 
If you choose to use a Windows NT account that is not a member of the local administrator's group for the MSSQLServer service, users who are not members of the sysadmin fixed server role cannot execute xp_cmdshell.

is your account a member of the local admin group?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top