Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Create Admin user with only create user rights

Author  Topic 

bjsarma
Starting Member

3 Posts

Posted - 2002-10-16 : 15:34:01
Hi,
I want to create an SQL Admin user with only privelages to create a user, assign user with roles, alter the users password. These are the only privelages that admin should have.

Please tell me what are all the roles i need to assign to this user.

THanks in Advance

\Regards
JAgannadh

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-10-16 : 16:15:27
Probably the securityadmin server role. Books Online has more details under "Roles, SQL Server - Overview".

Go to Top of Page

bjsarma
Starting Member

3 Posts

Posted - 2002-10-16 : 21:29:36
If i create user Security Admin role, this user is able to create tables in default database.


Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-10-16 : 22:09:34
You can specifically REVOKE or DENY their CREATE TABLE permissions if necessary, or add them to the db_accessadmin, db_denydatareader and db_denydatawriter database roles.

Go to Top of Page

bjsarma
Starting Member

3 Posts

Posted - 2002-10-17 : 09:59:19
Could you please sned me the scripts, in sequence. I tried but, the admin user i created is not able to add user to pubs database.

Go to Top of Page
   

- Advertisement -