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 2005 Forums
 SQL Server Administration (2005)
 sql server login permissions

Author  Topic 

pateal
Starting Member

3 Posts

Posted - 2008-05-14 : 01:45:22
I had created three users for my centeralized database server.
usernames are
1.sa
2.production
3.praveen

I had given the permissions as follows
for production i given the permissions for each database
dddatawriter,datareader, db_executor,public
for praveen i had given full permissions
for sa I want full permissions so i had given each and every thing

my aim is as follows. i want permissions according to this one.
for production he is not able to change the coloumn name,he is not able to backup database or restore database, and also he is not able to change password of any logins
For this one i got it correctly . but while coming to praveen login
He is able to do anything regarding database . but i don't want to give permissions to chnage passwords of his login and at the same time any login . can you give any idea regarding this permissions.

For sa i want to full permssions he is able to change passwords of any login .

please kindly help me in this

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-05-14 : 10:00:36
why you gave praveen full permission? Remove db_securityadmin .
Go to Top of Page

pateal
Starting Member

3 Posts

Posted - 2008-05-14 : 10:24:40
I had removed the security admin in server roles for praveen login eventhough he is able to change the sa login password.

I want to restrict that praveen user for changing password.
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-05-14 : 10:30:32
what! you gave all server role as well? I said to remove db_securityadmin which is fixed database roles? Give only what praveen needs.understand server roles and fixed database roles on BOL.

Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-05-14 : 22:39:40
Take it out from all server roles except public role. Anyway, user can change own password by default. You may need take out exec permission on master..sp_password from public.
Go to Top of Page

pateal
Starting Member

3 Posts

Posted - 2008-05-15 : 01:53:36
OK any way . Basically i am a system admin . now i got role to create amd maintain the sql server centerailzed. So now i started sql server first time in the centeralized server . Basically I don't have any idea on permissions and server roles. And i don't the difference,clarity about the sql terms.

so i started first time with 3 user logins one is sa which is for me.
second one is production for general use for developers in these they are able to execute ,change the values except that they cann't do any thing i.e they cann't create a tabel or modify a table etc. That one i got it perfectly by creating a role as

create role db_executor;
grant execute to db_executor;

While coming to second login i.e production . I wann't to grant maximum permissions i.e he is able create or modify databases & table,column names . But I want to restrict to change the password of sa and also if possible his login and production login.

For sa i want real time system administrator privileges.

I don't the difference between server role and server mappings.
can you any body explain the basic roles or provide me a basic level tutorials links for me


praveenkumar.ch
system admin
atherstone consulting ltd




Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-05-15 : 08:31:30
Thats why you have to look Books onlines for Server roles and database Permission
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-05-15 : 22:47:50
Put praveen in db_owner role of each user db.
Go to Top of Page
   

- Advertisement -