473,396 Members | 2,030 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

SQL2005 Default accounts

I've just been looking at a new 2005 install and found 3 logins:

SERV1\SQLServer2005SQLAgentUser$SERV1$MSSQLSERVER
SERV1\SQLServer2005MSSQLUser$SERV1$MSSQLSERVER
SERV1\SQLServer2005MSFTEUser$SERV1$MSSQLSERVER

Are these logins created during the install of SQLServer2005 by default
and what are they used for ? Can they be deleted safely ? If they are
required, can the names be set during install to something else ?

TIA

Laurence Breeze

Dec 12 '06 #1
4 13082
Where are you seeing those Laurence?

Permissioning for SQL Server 2005 is done through groups; are you sure these
aren't actual AD groups?

--
Tony Rogerson
SQL Server MVP
http://sqlblogcasts.com/blogs/tonyrogerson - technical commentary from a SQL
Server Consultant
http://sqlserverfaq.com - free video tutorials
"Laurence Breeze" <i.********@open.ac.ukwrote in message
news:45**************@open.ac.uk...
I've just been looking at a new 2005 install and found 3 logins:

SERV1\SQLServer2005SQLAgentUser$SERV1$MSSQLSERVER
SERV1\SQLServer2005MSSQLUser$SERV1$MSSQLSERVER
SERV1\SQLServer2005MSFTEUser$SERV1$MSSQLSERVER

Are these logins created during the install of SQLServer2005 by default
and what are they used for ? Can they be deleted safely ? If they are
required, can the names be set during install to something else ?

TIA

Laurence Breeze

Dec 12 '06 #2
Tony Rogerson (to**********@sqlserverfaq.com) writes:
Where are you seeing those Laurence?

Permissioning for SQL Server 2005 is done through groups; are you sure
these aren't actual AD groups?
I got the corresponding on my server (in sys.server_principals). And are
definitely not any AD groups, as this is a workgroup machine.

But they are indeed groups.

I would not drop them. That could end in tears.
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Dec 12 '06 #3
Thanks for your advice. I first noticed the logins in Management
Studio. I've done a bit more digging around and found some other
unexpected security objects.

Running sp_helplogins gives the 3 logins previously mentioned and 4
others I wasn't expecting:

##MS_AgentSigningCertificate##
##MS_SQLAuthenticatorCertificate##
##MS_SQLReplicationSigningCertificate##
##MS_SQLResourceSigningCertificate##

These also appear in the sys.server_principles catalog.

I'm comfortable with leaving these as they are, but I guess I always
like to "know" what unexpected database objects are for, how they work
etc. In addition, I have a centralised security system that records
DBMS server and DB permissions for multiple DBMS types. This is used by
my batch process that manages DBMS/database security each day. At the
moment for this one SQLServer 2005 server it thinks it should remove
these logins, which is a nuisence. I'll have to alter the batch job to
take account of these logins.

Thanks again.

Laurence Breeze,
DBA Team Leader,
The Open University.
UK
Erland Sommarskog wrote:
Tony Rogerson (to**********@sqlserverfaq.com) writes:
>>Where are you seeing those Laurence?

Permissioning for SQL Server 2005 is done through groups; are you sure
these aren't actual AD groups?


I got the corresponding on my server (in sys.server_principals). And are
definitely not any AD groups, as this is a workgroup machine.

But they are indeed groups.

I would not drop them. That could end in tears.

Dec 13 '06 #4
Laurence Breeze (i.********@open.ac.uk) writes:
Running sp_helplogins gives the 3 logins previously mentioned and 4
others I wasn't expecting:

##MS_AgentSigningCertificate##
##MS_SQLAuthenticatorCertificate##
##MS_SQLReplicationSigningCertificate##
##MS_SQLResourceSigningCertificate##

These also appear in the sys.server_principles catalog.
It would a bad idea to delete these. These logins are mapped to
certificates and it is not possible to log in as these. (You see this
in the type_desc column.)

Certificates mapped to logins are used in scheme which makes it possible
to grant permissions to users through an SQL module. Exactly what these
four predefined login are used for I don't know, but dropping them
could cause problems the day you would have needed them.

Overall, there is a lot of new stuff around security in SQL 2005.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Dec 14 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: ad | last post by:
The user of my asp.net program use Sql2005 or Sql2005 express as database, both are possible. I have try both version of data base, I found: If I use Sql2005 express, the Data Source in...
1
by: r1100r98 | last post by:
I am having a problem moving the data from a datatable to the SQL2005 table (using VB2005). See code below. The SQL2005 table is empty, the datatable is being filled from a text file, not from...
0
by: SouthSpawn | last post by:
When I attempt to add a new FullText Index in SQL2005. I get the following error. "Property Default Path is not available for FullTextService". I am trying to do this on my "Local" database...
5
by: Mike | last post by:
I'm having trouble accessing SQL2005 Standard Edition as a second instance of SQL Server where the first instance is SQL 2000 Enterprise Edition. I installed SQL 2005 as a named instance...
2
by: itfetish | last post by:
I've just upgraded our WIndows 2003 (with SBS server) web server to .Net framework 2.0 (it had 1.1 before) As I have been working on a web parts page on my laptop, hosting it there, working...
2
by: vaishalikedar | last post by:
I have a website in VS2005 C#. Access to server is no problem in debug mode. Access in run mode gives an errror. What exactly do I need to do to enable this? Thanks and regards, VK
0
by: nemo12 | last post by:
Hi, I am sa on some SQL servers. My new job is transfer databases based on old SQL 7 to new servers based on SQL 2005. Yes, SQL 2005 knows the old format of MDF files. I can transfer all user...
3
by: Michael Schöller | last post by:
Hello, First of all english is not my natural language so please fogive me some bad mistakes in gramatic and use of some vocables :). I have a great problem here. Well I will not use it...
0
by: nic829 | last post by:
Hi, I was upgrading a instance from SQL2000 to SQL2005. During SQL2005 setup I accidently allow the files to be installed in C drive, but I should have them all installed in D drive. My databases...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.