Solved

Discover all SQL Admins on SQL servers

Posted on 2013-02-05
2
232 Views
Last Modified: 2013-02-20
We are putting together a security audit and would like to be able to (1) detect all SQL Servers or instancess running and (2) be able to determine the SQL admins associated. We can use NMAP and determine the SQL instances and then have that list in a text file. But does anyone have any idea on how we could then pull SQL admins from those servers remotely without having to go to each server and run something manually. Looking to automate this as much as possible and searching for suggestions.
0
Comment
Question by:cmhwsu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 25

Accepted Solution

by:
SStory earned 500 total points
ID: 38860336
Well, you could write an app, like vb.net that connects via connection string to one server after the other and runs a query on:

use master;
select * from dbo.sysusers

You'd have to know what you were looking for. It will also depend upon whether you are using standard security, or the Windows security or mixed.

In standard there is only sa for root
In Windows all users with admin access on that machine are SQL Server admins too.  In mixed this is also a concern. If you just mean dbo or a certain role, you can get that info from this table too.
0
 

Author Comment

by:cmhwsu
ID: 38910331
It appears this is basically what we will have to do. Thank you.
0

Featured Post

IoT Devices - Fast, Cheap or Secure…Pick Two

The IoT market is growing at a rapid pace and manufacturers are under pressure to quickly provide new products. Can you be sure that your devices do what they're supposed to do, while still being secure?

Question has a verified solution.

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

Getting to know the threat landscape in which DDoS has evolved, and making the right choice to get ourselves geared up to defend against  DDoS attacks effectively. Get the necessary preparation works done and focus on Doing the First Things Right.
Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month6 days, 3 hours left to enroll

626 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