Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Controlling Sql Server logins


Controlling Sql Server logins

Author
Message
mark johnson-152566
mark johnson-152566
SSC Veteran
SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)

Group: General Forum Members
Points: 204 Visits: 93
I started off on a task to minimize the logins on our Sql server servers. So the first step was to move toward everyone into ad groups and then grant those groups access, we really do not want to have individuals needing access. No problem. So I pull a list of logins from and I see that I have some domain\server$ accounts, I suspect IIS,RS, ASP.NET. I have the nt network account, the builtin\admins account, the nt system account and three groups created by Sql Server. The builtin admins I can remove no issue. The nt system account I can remove no problem. I like using groups for the sql server services, not sure if I like sql server creating them on the server. Now it seems like I should not have to have both the nt network account and the domain\server$ accounts and I'm not sure where the domain\server$ accounts are really coming from. Here are my questions

1: Where are the domain\server$ accounts really coming from?

2: How can I control those accounts so that they are either a specified group etc?

3: Why does the process that created the domain\server$ accounts not use the nt network account?

4: If the domain\server$ accounts are coming from IIS\RS\ASP.NET then what's left that might need the NT Network account?

Thanks

Mark
mark johnson-159789
mark johnson-159789
SSC Rookie
SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)SSC Rookie (28 reputation)

Group: General Forum Members
Points: 28 Visits: 103
Okay, I have been able to confirm that the domain\server$ accounts are related to Reporting Services and application pools. the is a good write up at sqlblogcasts.com/blogs/stevechowles/archive/2007/07/02/reporting-services-2005-for-the-dba-changing-application-pool-identity.aspx that describes what I was looking for.

Thanks,
Mark

Mark Johnson
MCP, MCTS Sql Server 2005,MCTS Sql Server 2008, OCP
Steve Jones
Steve Jones
SSC Guru
SSC Guru (52K reputation)SSC Guru (52K reputation)SSC Guru (52K reputation)SSC Guru (52K reputation)SSC Guru (52K reputation)SSC Guru (52K reputation)SSC Guru (52K reputation)SSC Guru (52K reputation)

Group: Administrators
Points: 52520 Visits: 19009
Thanks for the update and reference. That's great information to have.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
thecosmictrickster@gmail.com
thecosmictrickster@gmail.com
Hall of Fame
Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)

Group: General Forum Members
Points: 3578 Visits: 938
Side note - typically, domain\servername$ accounts are used by the Network Service builtin account. So if any service is configured to use Network Service as its account and it requires access to an SQL Server, it will use the machine credentials (i.e. domain\servername$).

Be warned - ANY service that uses Network Service as its account will have access to any server/database that the machine account is granted access to, whether it needs it or not. Strengthening the position of 'use dedicated service accounts'.



Scott Duncan

MARCUS. Why dost thou laugh? It fits not with this hour.
TITUS. Why, I have not another tear to shed;
--Titus Andronicus, William Shakespeare

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search