<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title>Parallels knowledgebase (KB)</title>
<link>http://kb.parallels.com/</link>
<description>Parallels knowledgebase (KB)</description>
<language>en</language>
<copyright>Copyright 2008 Parallels</copyright>
<pubDate>Wed, 10 Sep 2008 00:00:00 +0600</pubDate>
<lastBuildDate>Wed, 10 Sep 2008 00:00:00 +0600</lastBuildDate>
<webMaster>rt-team@parallels.com</webMaster>

<item>
<title><![CDATA[Is it possible to create FTP accounts to go to a certain directory on the server that is not your_domain/your_name/? We need to be able to create FTP accounts that only go to a specified directory.]]></title>
<link>http://kb.parallels.com/en/415</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">Is it possible to create FTP accounts to go to a certain directory on the server that is not your_domain/your_name/? We need to be able to create FTP accounts that only go to a specified directory.</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 415&nbsp;</div>
					<div>Last Review: Oct,21 2008</div>
					<tr>
						<td>Author: </td>
						<td></td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>system</td>
					</tr>
				</div><!-- articleProperty -->
			</div></div></div></div></div><!-- frame -->

			<div class="article-internal-flag"></div>

			<div id="article-content">
				<div class="article-part">
					<h2>Resolution</h2>
					This feature is planned to be implemented in the future Plesk versions. This time it can only be done manually.<br /><br />Login to the server as 'root' user and create a system user (for example USER_NAME) with home directory you need, for example:<br /><br /><div class="commandline"><code># /usr/sbin/useradd -d <a href="http://kb.parallels.com/en/952">$HTTPD_VHOSTS_D</a>/your_domain/some/location -s /bin/false USER_NAME</code></div><br /><br />Set the password for this user using 'passwd' command.<br /><br />Add this user into 'psacln' group:<br /><br /><div class="commandline"><code># /usr/sbin/usermod -G psacln USER_NAME</code></div><br /><br />The user will be 'chroot'-ed to his home because 'psacln' group is listed in /etc/ftpchroot. Set read/write permissions for this user on his home directory, for example:<br /><br /><div class="commandline"><code># chmod 755 <a href="http://kb.parallels.com/en/952">$HTTPD_VHOSTS_D</a>/your_domain/some/location<br /># chown USER_NAME:psacln <a href="http://kb.parallels.com/en/952">$HTTPD_VHOSTS_D</a>/your_domain/some/location</code></div><br /><br />And set execute permission on the domain's httpdocs folder:<br /><br /><div class="commandline"><code># chmod 751 <a href="http://kb.parallels.com/en/952">$HTTPD_VHOSTS_D</a>/your_domain/httpdocs</code></div><br /><br /><a href="http://kb.parallels.com/en/952">$HTTPD_VHOSTS_D</a> - have to be replaced with the real path to the Plesk virtual hosts in the all examples above.
				</div>
				<div class="keywords"><strong>Keywords:</strong> howto, ftp user</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=415&ArticleLanguage=en&Product=&Category="><img src="http://kb.parallels.com/images/mail.png" width="15" height="15" alt="Subscription for changes to this article"></a>
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=415&ArticleLanguage=en&Product=&Category=">Subscription for changes to this article</a>

<script type="text/javascript">

$(document).ready(function() {
	$('#SubscriptionLink24Article a').each(function(){
		$(this).click(function(event) {
			event.preventDefault();
			MainPageContentHide();
			$('#subscription').html('');
			$.get('/Stuff/Subscription', {
													'Type' : 'Article',
													'ArticleID' : '415',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





	</div><!-- kb -->

</div><!-- article -->


]]></description>
<guid isPermaLink="false">165 LastUpdated: 2008-10-21 06:42:32</guid>
<pubDate>2008-10-06 09:10:27</pubDate>
</item>
</channel>
</rss>



