May 4, 2009 at 2:39 am
In Windows server few users are administrators like user1,user2,user3.
but in sql server(Windows Authenticaon) access, I need to give few roles only to those users, How can I Give?
May 4, 2009 at 3:16 am
Lee From Bangalore (5/4/2009)
In my server few users are administrators like user1,user2,user3.but in sql server access, I need to give few roles only to those users, How can I Give?
What is your server ?
You can create users in SQL Server and give them permissions whatever you want !!!
Be more specific what do you want to do!
:hehe:
May 4, 2009 at 3:23 am
Hi Dugi
I mean
In windows server the users(admin rights) are rights to access sql server, right
But I need to give few roles only to access sql server(Windows authenticaion) to those users. How can I give ?
May 4, 2009 at 3:35 am
Lee From Bangalore (5/4/2009)
Hi DugiI mean
In windows server the users(admin rights) are rights to access sql server, right
But I need to give few roles only to access sql server(Windows authenticaion) to those users. How can I give ?
Open SQL Server SSMS and expand Security-Logins ...you will see the windows logins if you add them before! After that with right click go to the properties of every user and you can give them server roles or you can do user mapping to any database that you have in you SQL Server!
May 4, 2009 at 3:39 am
Thanks Dugi
the users are administrator in Operating system
In sql server also they have Sysadmin.
But in sql server I dont want to give the sysadmin role to those users. In sql server we can't remove sysadmin role to those users bez they are windows administrators.
May 4, 2009 at 3:43 am
Lee From Bangalore (5/4/2009)
Thanks Dugithe users are administrator in Operating system
In sql server also they have Sysadmin.
But in sql server I dont want to give the sysadmin role to those users. In sql server we can't remove sysadmin role to those users bez they are windows administrators.
So what do you want for these users do you want just read data or deny for log in in server or you can disable these users to connect in SQL Server etc etc you can have many options to administer SQL Server logins (with mix authentication, Windows- Domain\User logins and SQL Server logins!)
May 6, 2009 at 9:02 am
Lee From Bangalore (5/4/2009)
Thanks Dugithe users are administrator in Operating system
In sql server also they have Sysadmin.
But in sql server I dont want to give the sysadmin role to those users. In sql server we can't remove sysadmin role to those users bez they are windows administrators.
Remove BUILTIN\Administrators from Sql server logins.
May 6, 2009 at 1:58 pm
Before you remove the BuildIn\Administrator group , make sure you add your Windows user as SysAdmin as back up. Or else if by any chance you forget the password of SA, you are locked out of your DB Server.
Be very very careful when you remove it.
-Roy
May 6, 2009 at 2:01 pm
I for got to mention that after you have removed the BuildIn Administrator role (Or you can leave the BuildIn/Administrator group as it is but just go to the properties and remove the SysAdmin role) you create a new role with the access you want to give the user1, user2 user3 and then add these users to this role.
-Roy
May 7, 2009 at 4:28 am
Hi Roy,
Thanks for your reply.
If I remove 'SysAdmin' role in Bulit\Administrator Group,
Will automatically removed Check box in 'Sysadmin' role to that windows authenticated users?
Pls Let me know
With Regards
Lee
May 7, 2009 at 11:23 am
Yes, it should unless you have added those users separately and given them rights.
Please make sure that you add your Windows login separately and add your user as Sysadmin.
-Roy
May 10, 2009 at 10:16 pm
Hi RoY,
With out removing the 'Sysadmin' role for BUILTIN\Administatrors' group
Can I Create Group in Local system and assign the users and gave the permissions to the group in SQL Server?
With Regards
Lee
May 11, 2009 at 4:58 am
Lee From Bangalore (5/10/2009)
Hi RoY,With out removing the 'Sysadmin' role for BUILTIN\Administatrors' group
Can I Create Group in Local system and assign the users and gave the permissions to the group in SQL Server?
With Regards
Lee
Yes. That will work. An active directory group would be even better.
May 13, 2009 at 2:42 am
Hi,
If I remove sysadmin role in Builtin\administrators group, is there any problems will occur( like services,,,)?
With regards,
Lee
Viewing 15 posts - 1 through 15 (of 18 total)
You must be logged in to reply to this topic. Login to reply