Re: How can I grant user run cmdexec
From: Hari Prasad (hari_prasad_k_at_hotmail.com)
Date: 08/11/04
- Next message: Sierra: "Re: Trust Relationship"
- Previous message: Cora: "How can I grant user run cmdexec"
- In reply to: Cora: "How can I grant user run cmdexec"
- Next in thread: Nobody: "Re: How can I grant user run cmdexec"
- Reply: Nobody: "Re: How can I grant user run cmdexec"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 11 Aug 2004 09:18:10 +0530
Hi,
First you can give grant execute on xp_cmdshell (gtrant execute on
xp_cmdshell to user) to the user in master database.
If they are not a member of the sysadmin role then they execute it under the
prefix of the SQL Agent Proxy Account.
sysadmin users would execute it as the account under which MSSQL Server
service starts.
How to set the proxy account:
1. Open enterprise manager and select management options
2. Right click abouve the sql Agent and select properties
3. Select the "job system" option
4. Set the "Non sysadmin job step proxy account
5. There you have give the valid OS level user with previlage.
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:
80/support/kb/articles/Q264/1/55.ASP&NoWebContent=1
Thanks
Hari
MCDBA
"Cora" <anonymous@discussions.microsoft.com> wrote in message
news:3a2801c47f53$0d7a2ba0$a301280a@phx.gbl...
> I have a DTS task that needs to run cmdexec, how can I
> grant the user have the rights to run this DTS but not
> giving him Admin rights?
- Next message: Sierra: "Re: Trust Relationship"
- Previous message: Cora: "How can I grant user run cmdexec"
- In reply to: Cora: "How can I grant user run cmdexec"
- Next in thread: Nobody: "Re: How can I grant user run cmdexec"
- Reply: Nobody: "Re: How can I grant user run cmdexec"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|