Chapter 1 Securing Your Server and Network (4): Using Virtual service Account

Source: Internet
Author: User
Tags domain hosting

Original source: http://blog.csdn.net/dba_huangzj/article/details/38037457, featured catalogue:http://blog.csdn.net/dba_huangzj/article/details/37906349

No person shall, without the consent of the author, be published in the form of "original" or used for commercial purposes, and I am not responsible for any legal liability.

Previous article: http://blog.csdn.net/dba_huangzj/article/details/38017703

Objective:

The virtual service account, like the managed account, is a new feature introduced by Windows Server R2, a local account that does not require password management. And you can access the network as the NetworkService account through the computer identity. As opposed to NetworkService, because it is a built-in account and shared between services, in terms of control than virtual service account (see HTTP://BLOG.CSDN.NET/DBA_HUANGZJ/ARTICLE/DETAILS/37924127), So the virtual account is a better choice.

A virtual account can configure security per service, but cannot manually create and delete a virtual account, which is the account that was created when the service was installed to Windows Server R2, and is consistent with the service name. For example, in NT service\mssql$sql2012, SQL2012 is the instance name. A virtual account can configure ACLs locally as a normal account, and can be a member of a local group.

 

Realize:

in order for SQL Server to run under a virtual account, follow these steps:

1. Open SQL Server Configuration Manager and open the Properties page for the SQL Server service:

2. Enter the NT service\mssql$< named instance name > or NT Service\mssqlserver (the default instance) in this account in the "Login" tab, and leave the password blank:


3. Click "Apply" and restart the service.


Principle:

Virtual accounts can be treated as local managed accounts, they do not need to be managed (so called managed), cannot be created, and do not require a password. Note, however, that a virtual account cannot be used in a SQL Server cluster because it does not have the same SID on each node and can use a domain hosting account if it is needed for the cluster.

In addition, virtual accounts can be used as computer accounts on the network to access network resources, so if you like to network access to your services, prioritize the use of such managed accounts.

Chapter 1 Securing Your Server and Network (4): Using Virtual service Account

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.