Re: run services as?

Tech-Archive recommends: Fix windows errors by optimizing your registry



David Thielen wrote:
Hi;

For SqlServer 2005 what is the best way to run the services. I assumed
LocalSystem but one of the services won't run under that.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm

Unlike some other Microsoft products, SQL Server does not need a lot of
permissions on the host (which is a very good thing).

You should create a local, non-domain, non-administrator account for
every service, and give to it the required permissions (run as
service). This way, you can always monitor what account is accessing
what resource, and since those accounts are not on your Windows domain
they have no network access. Make those accounts members of a local
group, and give permissions on the SQL Server folders to this group.

Not using domain accounts is a good practice since your services will
keep running even if the domain goes down. It might be a little bit of
admin overhead, however in the long run you will find it handy,
especially if there is a network shortage while the server is scheduled
to run maintenance plans.

If you need to get or send files across the network inside a job, you
can write a script with NET USE.

If you need to perform system tasks in SQL jobs, like running WMI
scripts, try CPAU or another RunAs-style wrapper instead of giving the
account too much rights.

Regards,
lucm

.



Relevant Pages

  • Re: How do you assign permissions to local network users on other m/cs?
    ... Setting up a network via a router, between laptop and pc, I found that ... Experimenting with the permissions via the security tab on the pc's ... Permissions that you assign to a local account on the PC ... Windows XP Professional File Sharing ...
    (microsoft.public.windowsxp.network_web)
  • Re: Execute Persmission denied on object sp_OACreate
    ... If so what access and permissions. ... The account is a windows account. ... One method to test permissions is to log in to your SQL Server box using the ... >>> SA account password and gaining access to the database. ...
    (microsoft.public.sqlserver.security)
  • Re: Trusted SQL Connections & NT AUTHORITYNETWORK SERVICE
    ... SYSTEM account in terms of the credentials it uses on the network. ... hitting a SQL Server on the same machine as the web app. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Specifying a logon account for SQL Server 2005 services
    ... As I mentioned using a Windows domain account with no permissions is the ... configured only for very specific server and memory configurations. ... account to use while installing SQL Server, will SQL Server give this account ...
    (microsoft.public.sqlserver.security)
  • That is permission problem
    ... SQL Server 2005 can't attach database on Windows Vista ... It seems it must be a permissions problem. ... What is the service account for SQL Server? ...
    (microsoft.public.sqlserver.tools)