Re: Minimum Permissions for sp_adduser
- From: "Uri Dimant" <urid@xxxxxxxxxxx>
- Date: Fri, 26 Dec 2008 09:54:26 +0200
Hi Tom
But the OP is using SQL Server 2000
I suggested to him adding the user into securityadmin server role and try
it again, what do you think?
"Tom Moreau" <tom@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:OvIpSafZJHA.552@xxxxxxxxxxxxxxxxxxxxxxx
Erland already answered this. Use CREATE USER and grant ALTER ANY USER to
the user.
--
Tom
----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau
"Munish Narula" <munish.narula@xxxxxxxxx> wrote in message
news:67587C5B-346C-40D6-9022-02D73C9D61C2@xxxxxxxxxxxxxxxx
Hi,
I created a new user and made it a member of 3 roles. db_owner,
db_securityadmin and db_accessadmin.
But still i am not able to execute sp_adduser using this new user.
I am getting the error
"User XXX does not have permission to run DBCC auditevents"
Can u please help me with this.
"Russell Fields" wrote:
Munish
From the BOL: "Only the dbo and members of the sysadmin fixed server role
can execute sp_adduser." (I assume that dbo includes members of the
db_owner role, but I have not tested this today.)
So, within a database a dbo can add users, but granting execute on the
stored procedure will not add the rights to a non-dbo. (And, of course,
adding logins is higher rights.)
RLF
"Munish Narula" <munish.narula@xxxxxxxxx> wrote in message
news:5A0A4C20-9412-49EB-AF65-400623A2D174@xxxxxxxxxxxxxxxx
I am trying to create a new user who has the permission to create a new
user
in SQL 2000. I have greated him only the rights for excuting
sp_adduser.
But
still this user is not able to create any other user. Is this not
suffient
privilege?
What are the minimum set of privilleges required for a user to execute
sp_adduser. I am talking only about SQL 2000 here.
.
- Follow-Ups:
- Re: Minimum Permissions for sp_adduser
- From: Erland Sommarskog
- Re: Minimum Permissions for sp_adduser
- References:
- Minimum Permissions for sp_adduser
- From: Munish Narula
- Re: Minimum Permissions for sp_adduser
- From: Russell Fields
- Re: Minimum Permissions for sp_adduser
- From: Munish Narula
- Re: Minimum Permissions for sp_adduser
- From: Tom Moreau
- Minimum Permissions for sp_adduser
- Prev by Date: Re: Minimum Permissions for sp_adduser
- Next by Date: Re: Minimum Permissions for sp_adduser
- Previous by thread: Re: Minimum Permissions for sp_adduser
- Next by thread: Re: Minimum Permissions for sp_adduser
- Index(es):
Relevant Pages
|