Solved

SQL Server permissions

Posted on 2013-05-22
9
308 Views
Last Modified: 2013-06-06
ALthough not a SQL DBA myself, we have a SQL Server Healthcheck soon whereby I am told the assessor needs full access to the SQL Server Operating Systems and SQL Server itself. For the OS we can grant them temporary admin access, but for SQL Server, what would they need, do you need to grant them access to a database account per database, or would domain admin rights typically cover admin access to the SQL Servers as well?

Also how is likely they would access SQL Server, would they remote onto the Server? Or use tools locally on a designated PC?
0
Comment
Question by:pma111
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 25

Accepted Solution

by:
Lee Savidge earned 125 total points
ID: 39186750
This may not help directly but you could try asking them what they want in terms of access and what, if any, tools they need.  I'm sure they'll let you know. If you make them an administrator on the domain and allow administrators using Windows authentication to access SQL Server, then they should be able to get access to what they need.
0
 
LVL 23

Assisted Solution

by:Racim BOUDJAKDJI
Racim BOUDJAKDJI earned 125 total points
ID: 39186779
While being integrated with system's security, SQL security has its own access control framework.  Typically, audits are realized by mapping sysadmin credential on SQL Server to a specific active directory user or group.  To do that, you simply declare the active directory/system user or group as a login on SQL Server.   Once created, you simply need to assign sysadmin credential to the freshly created login.

Hope this helps.
0
 
LVL 57

Assisted Solution

by:Raja Jegan R
Raja Jegan R earned 125 total points
ID: 39186787
For your vendor, you can provide a local windows login with administrator privileges temporarily and an SQL Login with sysadmin privileges since DB level healtcheck requires sysadmin privileges and disable both windows and sql login once check is completed..
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 3

Author Comment

by:pma111
ID: 39186931
Its a shame you cant consolodate it to just one domain account, I would have thought systems with windows authentication domain admins will by default have sysadmin privileges  in every instance?
0
 
LVL 9

Assisted Solution

by:VirastaR
VirastaR earned 125 total points
ID: 39186980
Hi,

Check this out!
http://www.techrepublic.com/blog/datacenter/reviewing-sql-server-permissions/466

also please provide more info on the SQL environment like version 2005/2008/R2 etc.

that would help us to help you better :)
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 39187010
>> Its a shame you cant consolodate it to just one domain account, I would have thought systems with windows authentication domain admins will by default have sysadmin privileges  in every instance?

Its the way it worked with older version of SQL Server.
However starting from SQL Server 2005 onwards, windows admins will not have sysadmin rights at SQL Server level unless otherwise granted explicitly for Security reasons.
0
 
LVL 3

Author Comment

by:pma111
ID: 39187097
So when you remote onto the server with your domain admin credentials, fire up sql server management studio, are you then prompted for either a SQL or AD username/password?
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 39187367
>> are you then prompted for either a SQL or AD username/password?

You can simply select any one of them..
0
 
LVL 9

Expert Comment

by:VirastaR
ID: 39188594
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question