SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Sp_adduser


Sp_adduser

Author
Message
manjulawhy
manjulawhy
SSC Rookie
SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)

Group: General Forum Members
Points: 30 Visits: 72
HI all,

I have the permissions of db_owner,db_accessadmin and db_securityadmin and I tried to create a user with sp_adduser but iam getting the following error:

"User 'xxx" doesnt have permissions to run DBCC audit Event."

Can any one help me in it?

Regards
MAnjula
Greg Charles
Greg Charles
SSCertifiable
SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)

Group: General Forum Members
Points: 5701 Visits: 5932
In SQL 2000, only dbo (not just member of db_owner) and members of sysadmin can execute sp_adduser. Try using sp_grantdbaccess instead.

Greg
manjulawhy
manjulawhy
SSC Rookie
SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)

Group: General Forum Members
Points: 30 Visits: 72
Hi ,
Thanks.I got it.
Ihave another doubt.Is segregation of duties possible in sql2000/sql 2005.
like all dba tasks separate and security admin tasks separate.
Kindly provide me answer for this.

Thanks in advance
MAnjula
Greg Charles
Greg Charles
SSCertifiable
SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)

Group: General Forum Members
Points: 5701 Visits: 5932
It depends on your definition of "dba tasks". The DBAs in my organization are members of the sysadmin server role and we don't farm out administrative duties to non-DBAs.

If you look at the definition of the securityadmin server role in BOL, you see that it can only GRANT, DENY, and REVOKE server-level permissions and database-level permissions.

Greg
manjulawhy
manjulawhy
SSC Rookie
SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)

Group: General Forum Members
Points: 30 Visits: 72
Thanks Greg.But DBA who is having Sysadmin role will have the Security Priviliges like GRANT,REVOKE & DENY also.So our company wants to separte the tasks. Is it possible to have alternative roles to perform DBA tasks instead of Sysadmin role. correct me if am wrong.
Greg Charles
Greg Charles
SSCertifiable
SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)SSCertifiable (5.7K reputation)

Group: General Forum Members
Points: 5701 Visits: 5932
You probably should read about the privileges of the various fixed server roles and fixed database roles in BOL. You can't create custom server roles, but you can create your own database roles, so you may be able to separate duties somewhat.

Greg
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search