<?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>IDIFY Solutions LLP &#187; pure-ftpd</title>
	<atom:link href="http://blog.idifysolutions.com/category/open-source/ftp-servers/pure-ftp/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.idifysolutions.com</link>
	<description>I Do It For You</description>
	<lastBuildDate>Wed, 13 Mar 2013 14:59:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Install pure-ftpd &amp; restrict users to their home directories (Fedora/openSuse)</title>
		<link>http://blog.idifysolutions.com/2011/09/install-pure-ftpd-restrict-users-to-their-home-directories-fedora-opensuse/</link>
		<comments>http://blog.idifysolutions.com/2011/09/install-pure-ftpd-restrict-users-to-their-home-directories-fedora-opensuse/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 17:52:04 +0000</pubDate>
		<dc:creator>Sahil Bhatia</dc:creator>
				<category><![CDATA[pure-ftpd]]></category>
		<category><![CDATA[chroot]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[jail users]]></category>
		<category><![CDATA[openSuse]]></category>

		<guid isPermaLink="false">http://blog.idifysolutions.com/?p=85</guid>
		<description><![CDATA[Hello everyone, Steps to install pure-ftpd and jail users: Note-1) On typing &#8216;ftp localhost&#8217;, if you get &#8220;Install command &#8216;ftp&#8217; to provide command &#8216;ftp&#8217;? [N/y]&#8221; error message, don&#8217;t worry that perfectly normal.  Simply type y. This is &#8220;ftp client binary&#8221;, whereas vsftpd is &#8220;ftp server&#8221;. Step-1) To install pure-ftpd, on the terminal type:         su [...]]]></description>
			<content:encoded><![CDATA[<p>Hello everyone,</p>
<p><strong>Steps to install pure-ftpd and jail users:</strong></p>
<p><strong>Note-1)</strong> <em>On typing &#8216;ftp localhost&#8217;, if you get &#8220;Install command &#8216;ftp&#8217; to provide command &#8216;ftp&#8217;? [N/y]&#8221; error message, don&#8217;t worry that perfectly normal.  Simply type y. This is &#8220;ftp client binary&#8221;, whereas vsftpd is &#8220;ftp server&#8221;.</em></p>
<p>Step-1) To install pure-ftpd, on the terminal type:<br />
<em>        su -c &#8216;yum -y install ftp pure-ftpd&#8217;</em></p>
<p>Step-2) To jail users to their home directories, on the terminal type:<br />
<em>        su -c &#8216;[nano/vi/emacs] /etc/pure-ftpd/pure-ftpd.conf&#8217;</em><br />
<em>        Search for text &#8220;ChrootEveryone&#8221; and change it&#8217;s value to &#8220;yes&#8221;.</em></p>
<p>Step-3) To allow local users to login, on the terminal type:<br />
<em>        su -c &#8216;[nano/vi/emacs] /etc/pure-ftpd/pure-ftpd.conf&#8217;</em><br />
<em>        Search for text &#8220;UnixAuthentication&#8221; and change it&#8217;s value to &#8220;yes&#8221;</em></p>
<p>Step-4) Restart service:<br />
<em>        su -c &#8216;service pure-ftpd restart&#8217;</em></p>
<p>Step-5) If you skip this, you will get &#8220;500 OOPS: cannot change directory:/home/user_name&#8221; error when you login to ftp server.<br />
<em>        su -c &#8216;setsebool -P ftp_home_dir on&#8217;</em></p>
<p><strong>    Congratulations! you have successfully jailed users to their respective home directories.</strong></p>
<p>Step-6) To test, on the terminal windows type:<br />
<em>        ftp localhost</em><br />
<em>        (when prompted, enter local computer login credentials)</em><br />
<em>        pwd</em><br />
<em>        ls -lh</em><br />
<em>        ls -lh ../../.. OR whatever you want to check.</em></p>
<p>&nbsp;</p>
<p><strong>I sincerely hope you liked it. Please leave your valuable comments and suggestions.</strong></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blog.idifysolutions.com/2011/09/install-pure-ftpd-restrict-users-to-their-home-directories-fedora-opensuse/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.idifysolutions.com/2011/09/install-pure-ftpd-restrict-users-to-their-home-directories-fedora-opensuse/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install pure-ftpd &amp; restrict users to their home directories (Ubuntu)</title>
		<link>http://blog.idifysolutions.com/2011/09/install-pure-ftpd-restrict-users-to-their-home-directories-ubuntu/</link>
		<comments>http://blog.idifysolutions.com/2011/09/install-pure-ftpd-restrict-users-to-their-home-directories-ubuntu/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 17:49:24 +0000</pubDate>
		<dc:creator>Sahil Bhatia</dc:creator>
				<category><![CDATA[pure-ftpd]]></category>
		<category><![CDATA[chroot]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[jail users]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.idifysolutions.com/?p=83</guid>
		<description><![CDATA[Hello everyone, Steps to install pure-ftpd and jail users: Step-1) To install pure-ftpd, on the terminal type: sudo apt-get -y install pure-ftpd Step-2) To jail users to their home directories, on the terminal type:         cd /etc/pure-ftpd/conf         sudo touch ChrootEveryone (Note: Please type the name as it is. It&#8217;s case-sensitive.)         sudo [nano/vi/emacs] ChrootEveryone [...]]]></description>
			<content:encoded><![CDATA[<p>Hello everyone,</p>
<p><strong>Steps to install pure-ftpd and jail users:</strong></p>
<p>Step-1) To install pure-ftpd, on the terminal type:<br />
<em>sudo apt-get -y install pure-ftpd</em></p>
<p>Step-2) To jail users to their home directories, on the terminal type:<br />
<em>        cd /etc/pure-ftpd/conf</em><br />
<em>        sudo touch ChrootEveryone (Note: Please type the name as it is. It&#8217;s case-sensitive.)</em><br />
<em>        sudo [nano/vi/emacs] ChrootEveryone</em><br />
<em>        type &#8216;yes&#8217; in the file, save and exit.</em></p>
<p>Step-3) Restart service:<br />
<em>        sudo service pure-ftpd restart</em></p>
<p><strong>    Congratulations! you have successfully jailed users to their respective home directories.</strong></p>
<p>Step-4) To test, on the terminal windows type:<br />
<em>        ftp localhost</em><br />
<em>        #(when prompted, enter local computer login credentials)</em><br />
<em>        pwd</em><br />
<em>        ls -lh</em><br />
<em>        ls -lh ../../.. OR whatever you want to check.</em></p>
<p>&nbsp;</p>
<p><strong>I sincerely hope you liked it. Please leave your valuable comments and suggestions.</strong></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blog.idifysolutions.com/2011/09/install-pure-ftpd-restrict-users-to-their-home-directories-ubuntu/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.idifysolutions.com/2011/09/install-pure-ftpd-restrict-users-to-their-home-directories-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guide to create virtual-user in pure-ftpd</title>
		<link>http://blog.idifysolutions.com/2011/09/guide-to-create-virtual-user-in-pure-ftpd/</link>
		<comments>http://blog.idifysolutions.com/2011/09/guide-to-create-virtual-user-in-pure-ftpd/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 15:21:33 +0000</pubDate>
		<dc:creator>Sahil Bhatia</dc:creator>
				<category><![CDATA[pure-ftpd]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[openSuse]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtual user]]></category>

		<guid isPermaLink="false">http://blog.idifysolutions.com/?p=47</guid>
		<description><![CDATA[NOTE: It is assumed that you are using root login. &#160; &#8216;Fedora / RedHat / OpenSuse&#8217; users: Step 1) Open terminal window and type: yum install -y pure-ftpd &#160; Ubuntu / Debian users: Step 1) Open terminal window and type: apt-get install -y pure-ftpd &#160; Step 2) Create new system group. groupadd [ftpgroup] Step 3) [...]]]></description>
			<content:encoded><![CDATA[<p><strong>NOTE: It is assumed that you are using root login.</strong></p>
<p>&nbsp;</p>
<p><em><strong>&#8216;Fedora / RedHat / OpenSuse&#8217; users:</strong></em></p>
<p>Step 1) Open terminal window and type:<br />
<em> yum install -y pure-ftpd</em></p>
<p>&nbsp;</p>
<p><em><strong>Ubuntu / Debian users:</strong></em></p>
<p>Step 1) Open terminal window and type:<br />
<em> apt-get install -y pure-ftpd</em></p>
<p>&nbsp;</p>
<p>Step 2) Create new system group.<br />
<em> groupadd [ftpgroup]</em></p>
<p>Step 3) Create new system user.<br />
<em> useradd -g [ftpgroup] -d /dev/null [ftpuser]</em></p>
<p>Step 4) Use pure-pw (tool provided by pure-ftpd) to create virtual user.<br />
<em> pure-pw useradd [username] -u [ftpuser] -d [/home/ftpusers/username]</em></p>
<p><strong><em>On pressing enter, you will be asked to enter virtual user&#8217;s password &amp; then again to confirm the same password.</em></strong></p>
<p>Step 5) Untill here, changes are not saved by pure-ftpd. To commit changes enter the following command:<br />
<em> pure-pw mkdb</em></p>
<p>Step 6) To start pure-ftpd as standalone server type:<br />
<em> pure-ftpd -j -lpuredb:/etc/pure-ftpd/pureftpd.pdb &amp;</em></p>
<p>Step -7) Success&#8230; Now, connect to the server using:<br />
<em> ftp localhost [or ipaddress]</em></p>
<p><em>enter virtual user credentials [username and password] as supplied in step 4, to login.</em></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://blog.idifysolutions.com/2011/09/guide-to-create-virtual-user-in-pure-ftpd/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.idifysolutions.com/2011/09/guide-to-create-virtual-user-in-pure-ftpd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
