<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Demand Technology FAQ &#187; Impersonation</title>
	<atom:link href="http://faq.demandtech.com/tag/impersonation/feed/" rel="self" type="application/rss+xml" />
	<link>http://faq.demandtech.com</link>
	<description>Help and Support for the Performance Sentry Product Line</description>
	<lastBuildDate>Wed, 30 Jun 2010 19:33:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Can the Performance Sentry Collection Service impersonate a User Account to gain access to secure network resources?</title>
		<link>http://faq.demandtech.com/2009/09/29/can-the-performance-sentry-collection-service-impersonate-a-user-account-to-gain-access-to-secure-network-resources/</link>
		<comments>http://faq.demandtech.com/2009/09/29/can-the-performance-sentry-collection-service-impersonate-a-user-account-to-gain-access-to-secure-network-resources/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 17:39:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Performance Sentry]]></category>
		<category><![CDATA[Impersonation]]></category>

		<guid isPermaLink="false">http://faq.demandtech.com/?p=49</guid>
		<description><![CDATA[Yes, the Performance Sentry collection service can impersonate a User Account to gain access to secure network resources.
By design, the Performance Sentry Collection Service (dmperfss.exe) is installed to run under the built-in LocalSystem (SYSTEM) account. This built-in account, which most services use, has the authority to perform almost any internal function on the local machine. [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, the Performance Sentry collection service can impersonate a User Account to gain access to secure network resources.</p>
<p>By design, the Performance Sentry Collection Service (<strong><em>dmperfss.exe</em></strong>) is installed to run under the built-in <em>LocalSystem</em> (<em>SYSTEM</em>) account. This built-in account, which most services use, has the authority to perform almost any internal function on the local machine. However, the <em>LocalSystem</em> account has no built-in facilities to access secure network resources, such as shared network folders.</p>
<p>The Performance Sentry Collection Service performs two sets of functions where security considerations may apply:</p>
<ol>
<li>Control the Performance Sentry data and log files in the <strong><em>\data\</em></strong> Folder. You can normally tell that the NTSMF <strong><em>\data\</em></strong> Folder is protected from uncontrolled access by the <em>LocalSystem</em> account if the service terminates prematurely at start-up and no <em>&lt;computername&gt;.<strong>ntsmf.log</strong></em>file is generated in the NTSMF <strong><em>\data\</em></strong> Folder.</li>
<li>Execute the Cycle End command or command script. The Cycle End command or command script runs in a separate process that inherits its Authority from the Performance Sentry service process that creates it. If the Cycle End command or command script fails to complete successfully, but works fine when you execute it under your Logon Account, your Logon Account probably has Folder Permissions that are not granted to the <em>LocalSystem </em>account.</li>
</ol>
<p>There are two ways to authorize the collection service to perform these secure functions:</p>
<ol>
<li>If you have implemented Active Directory, it is possible to grant the <em>LocalSystem</em> (or <em>SYSTEM)</em> Account the Folder Permissions required to access secured network resources. The <em>LocalSystem</em> Account corresponds to the named Computer in Active Directory. However, some installations prefer not to grant the <em>LocalSystem</em> (or <em>SYSTEM)</em> Account any Folder Permissions.</li>
<li>You may assign a User Account with access to the appropriate network resources that  the collection service will <em>impersonate </em>whenever it performs one of the two secured functions discussed above.</li>
</ol>
<p><em>Impersonation</em> allows the collection service to adopt temporarily a different security identifier (SID) than the the one specified when the service is started. You assign the User Account and Password that the collection service will impersonate when you install the collection service. The User Account you assign will be used whenever the collection services performs any function that might need to done under a security context other than LocalSystem (or SYSTEM). If you assign a User Account and Password during installation of the collection service, the collection service will <em>impersonate</em> that User Account when it launches the Cycle End command. This allows the Cycle End command or script to execute under a User Account that is authorized to perform network file operations on a secure shared folder. In addition, if the NTSMF <strong><em>\data\</em></strong> Folder is protected from uncontrolled access by the <em>LocalSystem</em> account, you may need to assign Performance Sentry a User Account to impersonate when it performs any function that accesses the <strong><em>\data\</em></strong> Folder.</p>
<p>You assign the User Account to be impersonated during the Performance Sentry Collection Service installation using the <strong>-account</strong> and <strong>-password</strong> options, as illustrated below:<br />
dmperfss -install -f MyDCS.dcs -account DomainName\myAccount -password xxxxxxx</p>
<p>You may also assign the User Account by using the automation interface command dmcmd.exe found in the root NTSMF folder:<br />
dmcmd.exe -account DomainName\myAccount -password xxxxxxx</p>
<p>For more details, see Chapter 2 of the User&#8217;s Manual.</p>
]]></content:encoded>
			<wfw:commentRss>http://faq.demandtech.com/2009/09/29/can-the-performance-sentry-collection-service-impersonate-a-user-account-to-gain-access-to-secure-network-resources/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
