﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Administering / SQL Server 2005  / starting db instance under a non-Administrator Account / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 19 May 2013 23:42:55 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: starting db instance under a non-Administrator Account</title><link>http://www.sqlservercentral.com/Forums/Topic565486-146-1.aspx</link><description>Trying to run SQL Server 2000 using a account that is not local administrator is very difficult.  There is lots of functionality that does not work.  My understanding is that it is best practice to use a local administrator account to run SQL Server 2000.With SQL Server 2005 and above, there is no requirement to use an account with local administrator rights.  Best practice for SQL Server 2005 is definitely do not use local administrator rights.  Although there is one function within SQL Agent that requires local administrator rights if you use it (auto restart of SQL and SQL Agent), this can be achieved without using local administrator rights and far more flexibly by configuring the service restart options in the Windows service control applet.If your security people are paranoid about not letting SQL Server run using local administrator authority, use this as a lever to move to SQL Server 2005 or 2008.If your organisation wants to control SQL Server 2005 account rights using Group Policy Objects (GPOs), which is definitely Windows best practice, the SQL Server FineBuild Reference document has a section you can cut out that gives all the GPO details you need.</description><pubDate>Thu, 11 Sep 2008 02:49:00 GMT</pubDate><dc:creator>EdVassie</dc:creator></item><item><title>RE: starting db instance under a non-Administrator Account</title><link>http://www.sqlservercentral.com/Forums/Topic565486-146-1.aspx</link><description>We discovered SQL 2000 full text search required the SQL instance to run as a local admin account. This is not required under SQL 2005 due to changes in the implementation of full text search under that release.</description><pubDate>Wed, 10 Sep 2008 06:08:40 GMT</pubDate><dc:creator>Sr SQL developer</dc:creator></item><item><title>RE: starting db instance under a non-Administrator Account</title><link>http://www.sqlservercentral.com/Forums/Topic565486-146-1.aspx</link><description>Follow-up for Gail:Is there a command-line directive to SQL Enterprise Mgr that can change the Log In Properties of the Server?My hunt so far has not been successful.I would prefer to change identity of my mssql$inst in my installshield, rather than force the user to do it.Any info is greatly (needed and) appreciated.Thx</description><pubDate>Tue, 09 Sep 2008 08:27:37 GMT</pubDate><dc:creator>roger.hurst</dc:creator></item><item><title>RE: starting db instance under a non-Administrator Account</title><link>http://www.sqlservercentral.com/Forums/Topic565486-146-1.aspx</link><description>[quote][b]GilaMonster (9/8/2008)[/b][hr]Make sure that the account has full control over the directories that have your data and log files in, and also the directories that the backups go. [/quote]this shouldnt actually be necessary as changing the account via sql config manager will assign the user to the appropriate sql server groups on the machine, these should already have the required permissions on the folders</description><pubDate>Mon, 08 Sep 2008 15:17:43 GMT</pubDate><dc:creator>Perry Whittle</dc:creator></item><item><title>RE: starting db instance under a non-Administrator Account</title><link>http://www.sqlservercentral.com/Forums/Topic565486-146-1.aspx</link><description>Thanks for the tip.We run SQL Server 2000.  I was pointed to the instance Security Page under SQL Server Enterprise Manager, where I could set the Log in Acct/Password.  That set the Log In Properties for my service (MSSQL$svc), and the file permissions.  The service started up under the domain\acct I specified.I need to do this "on the fly" in an InstallShield Script.  Could you point me to tool(s) to accomplish that?Thanks very much.</description><pubDate>Mon, 08 Sep 2008 13:22:12 GMT</pubDate><dc:creator>roger.hurst</dc:creator></item><item><title>RE: starting db instance under a non-Administrator Account</title><link>http://www.sqlservercentral.com/Forums/Topic565486-146-1.aspx</link><description>SQL should run under a non-administrative account. It's a security best practice.Create a domain account for SQL. I would suggest that you se the domain account so that it does not allow interactive login. Make sure that the account has full control over the directories that have your data and log files in, and also the directories that the backups go. Change the SQL service account using the SQL Server Configuration Manager. That tool will ensure that the new login has the permissions that the SQl Service needs.Do not make it a local administrator on the server.[quote]We've been able to solve this by adding a non-administrative user (SvcUser, if you will) to the Security tab on the executable properties page, giving this user full-control, and also giving this user sysadmin (via sp_addsrvrolemember) role in the database.[/quote]That's not what I would call a non-administrative user. By adding it to the sysadmin role, you've given that account full system administrator permissions to the SQL instance. Doe the account really need that?</description><pubDate>Mon, 08 Sep 2008 09:11:30 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>starting db instance under a non-Administrator Account</title><link>http://www.sqlservercentral.com/Forums/Topic565486-146-1.aspx</link><description>In the environment our product runs, there are security cops running at various times monitoring processes, and terminating applications that run with administrator identity.Can anyone give me a method to bring up mssql$name under some non-administrator account?If it can be done, what would be the negative side-effects?We have a service process which  also interacts with the instance.  This has the same restriction.  We've been able to solve this by adding a non-administrative user (SvcUser, if you will) to the Security tab on the executable properties page, giving this user full-control, and also giving this user sysadmin (via sp_addsrvrolemember) role in the database.  I'm hoping to accomplish something similar with the database instance service.Thanks in advance.</description><pubDate>Mon, 08 Sep 2008 09:01:59 GMT</pubDate><dc:creator>roger.hurst</dc:creator></item></channel></rss>