|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Yesterday @ 6:36 AM
Points: 306,
Visits: 1,015
|
|
Thank you John.
I wrote this article in case you have "no other way" to connect to the SQL server.
Rudy
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, May 03, 2013 8:15 AM
Points: 4,
Visits: 47
|
|
einman33 (11/3/2009) From the article:
The builtin\administrators account has been removed for security reasons
??
This happens if you don't want your outsourced IT Dept. seeing accounting data, such as payroll. SQL Server single user mode must use a separate set of permissions that, when active, allows anyone with local admin permissions rights to the data. So, the IT Dept. could still get into the data if they switched it to single user mode? Nice.
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Wednesday, December 22, 2010 10:46 AM
Points: 88,
Visits: 181
|
|
einman33 (11/3/2009) From the article:
The builtin\administrators account has been removed for security reasons
??
What is your question?
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Wednesday, December 22, 2010 10:46 AM
Points: 88,
Visits: 181
|
|
This happens if you don't want your outsourced IT Dept. seeing accounting data, such as payroll. SQL Server single user mode must use a separate set of permissions that, when active, allows anyone with local admin permissions rights to the data. So, the IT Dept. could still get into the data if they switched it to single user mode? Nice.
I know, right. Very uncomfortable feeling knowing that the network team could still get in if they really wanted to.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, May 03, 2013 8:15 AM
Points: 4,
Visits: 47
|
|
john.vanda (11/3/2009)
This happens if you don't want your outsourced IT Dept. seeing accounting data, such as payroll. SQL Server single user mode must use a separate set of permissions that, when active, allows anyone with local admin permissions rights to the data. So, the IT Dept. could still get into the data if they switched it to single user mode? Nice.
I know, right. Very uncomfortable feeling knowing that the network team could still get in if they really wanted to.
Well, at least I learned something today that I never knew.
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Yesterday @ 6:36 AM
Points: 306,
Visits: 1,015
|
|
True, but the servers would have to be restarted in single user mode. Hopefully your monitoring systems would alert you that the server has been restarted. You should then review all logs server logs and sql server logs and question your staff as to who and why this server was started in single user mode. I would be getting the security department involved too.
Rudy
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, April 29, 2013 8:54 AM
Points: 10,
Visits: 251
|
|
this way is not exact, because when you type sqlcmd -E you will obtain à time out for sql connexion because your account dont existe in sys.logins. In the case when you have a login , it is not necessary to stop sql service you can access anr execute query like (create bultin\administrators from windows). The group bultin\administrators allows to system administratot to connect in sysadmin, the best practise is to change the role for this group to "public". When you install sql server, sql server add news groups like sysadmin login, you can add yout account in this group in order to connect you on sql server.
I repeat, this article is not applied in sql server
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, April 29, 2013 8:54 AM
Points: 10,
Visits: 251
|
|
this way is not exact, because when you type sqlcmd -E you will obtain à time out for sql connexion because your account dont existe in sys.logins. In the case when you have a login , it is not necessary to stop sql service you can access anr execute query like (create bultin\administrators from windows). The group bultin\administrators allows to system administratot to connect in sysadmin, the best practise is to change the role for this group to "public". When you install sql server, sql server add news groups like sysadmin login, you can add yout account in this group in order to connect you on sql server.
I repeat, this article is not applied in sql server
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Today @ 3:53 AM
Points: 16,
Visits: 141
|
|
The main question (I think) is unanswered:
If you have removed BUILTIN\Administrators and all other administrative access to the SQL instance, how can you log into the SQL instance with administrative access?
Rudy - are you suggesting that by starting the instance in single user mode and using SQLCMD -E that the access can be bypassed? If so, that is news to me.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, April 29, 2013 8:54 AM
Points: 10,
Visits: 251
|
|
this way is not exact, because when you type sqlcmd -E you will obtain à time out for sql connexion because your account dont existe in sys.logins. In the case when you have a login , it is not necessary to stop sql service you can access anr execute query like (create bultin\administrators from windows). The group bultin\administrators allows to system administratot to connect in sysadmin, the best practise is to change the role for this group to "public". When you install sql server, sql server add news groups like sysadmin login, you can add yout account in this group in order to connect you on sql server.
I repeat, this article is not applied in sql server
|
|
|
|