<?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>Tuts4Tech &#187; chroot</title>
	<atom:link href="http://tuts4tech.net/tag/chroot/feed/" rel="self" type="application/rss+xml" />
	<link>http://tuts4tech.net</link>
	<description>Tech Tutorials</description>
	<lastBuildDate>Tue, 04 May 2010 20:35:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Chroot Sftp</title>
		<link>http://tuts4tech.net/2009/05/03/chroot-sft/</link>
		<comments>http://tuts4tech.net/2009/05/03/chroot-sft/#comments</comments>
		<pubDate>Sun, 03 May 2009 19:55:46 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[chroot]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[vsftpd]]></category>

		<guid isPermaLink="false">http://tuts4tech.co.cc/?p=175</guid>
		<description><![CDATA[Create a Chrooted group Open up /etc/ssh/sshd_config and add the following to the end of it Restart SSHD Then make users chrooted by adding them to the chrooted group Now when the user sftps the server they will only see the contents of there home folder]]></description>
			<content:encoded><![CDATA[<ol>
<li>Create a Chrooted group
<pre class="brush: plain; title: ; notranslate">addgroup chrooted</pre>
</li>
<li>Open up /etc/ssh/sshd_config and add the following to the end of it
<pre class="brush: plain; title: ; notranslate">Subsystem sftp internal-sftp
Match group chrooted
ChrootDirectory /home/%u
X11Forwarding no
ForceCommand internal-sftp
</pre>
</li>
<li>Restart SSHD
<pre class="brush: plain; title: ; notranslate">/etc/init.d/ssh restart</pre>
</li>
<li>Then make users chrooted by adding them to the chrooted group
<pre class="brush: plain; title: ; notranslate">adduser user chrooted</pre>
</li>
<li>Now when the user sftps the server they will only see the contents of there home folder</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/05/03/chroot-sft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

