<?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>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; anonymous ftp</title> <atom:link href="http://www.ghacks.net/tag/anonymous-ftp/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 17:32:23 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Add ftp service to your Ubuntu Server</title><link>http://www.ghacks.net/2009/09/06/add-ftp-service-to-your-ubuntu-server/</link> <comments>http://www.ghacks.net/2009/09/06/add-ftp-service-to-your-ubuntu-server/#comments</comments> <pubDate>Sat, 05 Sep 2009 22:51:55 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[anonymous ftp]]></category> <category><![CDATA[ftp server]]></category> <category><![CDATA[ubuntu server]]></category> <category><![CDATA[vsftpd]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=16052</guid> <description><![CDATA[So you now have your Ubuntu Server up and running with the help of &#8220;Installing Ubuntu Server 9.04&#8221; and you now have Samba working with the help of &#8220;Set up your new Ubuntu Server as a Samba Server&#8220;. Now it&#8217;s time to add ftp to the mix. Of course many people are of the mind [...]]]></description> <content:encoded><![CDATA[<p>So you now have your Ubuntu Server up and running with the help of &#8220;<a
title="Installing Ubuntu Server 9.04" href="http://www.ghacks.net/2009/09/03/installing-ubuntu-server-9-04/" target="_blank">Installing Ubuntu Server 9.04</a>&#8221; and you now have Samba working with the help of &#8220;<a
title="Samba" href="http://www.ghacks.net/2009/09/04/set-up-your-new-ubuntu-server-as-a-samba-server/" target="_blank">Set up your new Ubuntu Server as a Samba Server</a>&#8220;. Now it&#8217;s time to add ftp to the mix. Of course many people are of the mind set that FTP servers are slowly becoming a thing of the past. I would disagree because of the low cost of hardware, ease of set up, and ease of use. You can&#8217;t beat an FTP server up on your network as a central file repository.</p><p>Now that you already have your Ubuntu Server up and running, adding FTP is actually quite easy. There are numerous FTP servers available, but the one I tend to prefer is vsftpd. Not only is it more secure than many other FTP servers, it&#8217;s easy to install and configure, even for anonymous use.</p><p>In this article you will see how to get vsftpd installed and configured for both user login and anonymous use.</p><p><span
id="more-16052"></span></p><p><strong>Installing vsftpd</strong></p><p>Since the installation for the base server is a GUI-less Ubuntu 9.04, the entire installation and configuration will be done from the command line. Log into your server and then issue the following command:</p><p><em>sudo apt-get install vsftpd</em></p><p>The above command will install everything needed for your FTP server. What you will find is your configuration file located in the <strong>/etc</strong> directory and the executable located in <strong>/etc/init.d/</strong>. By default vsftpd is installed to allow ONLY anonymous download. The default location for anonymous files is in <strong>/home/ftp</strong>. So by default all you need to do is place files you want to be accessible anonymously in <strong>/home/ftp</strong>, start the vsftp daemon with the command:</p><p><em>sudo /etc/init.d/vsftpd start</em></p><p>And you can immediately connect anonymously. Any file located within <strong>/home/ftp</strong> will be available to anonymous users. That&#8217;s not a bad setup for an internal LAN. But if you need to control what people use/see, or if you do not want to allow anonymous access, you will have to take care of a little configuration.</p><p><strong>Configuring user-authenticated login</strong></p><p>Let&#8217;s say you have four users on your system that need access to their own individual accounts. For this you will need to enable user-authenticated login. This is done within the <strong>/etc/vsftpd.conf</strong> file. Open up this file and scroll down to around line 26. Here you will see the entry:</p><p><em>#local_enable=YES</em></p><p>Notice the &#8220;#&#8221; symbol at the beginning of the line? This means that line is commented out. Remove the &#8220;#&#8221; symbol, save the file, restart vsftpd, and now anyone with an account on your ftp server can log in with their username and password.</p><p>But what if the users need to upload as well as download? Simple. Below the <em>local_enable</em> line you will see the line:</p><p><em>#write_enable=YES</em></p><p>Uncomment out that line and restart vsftpd to enable write access for your users. Remember, you have to restart vsftpd any time you make a change to the configuration file. You can also disable anonymous access by commenting out the line:</p><p><em>anonymous_enable=YES</em></p><p>This can be handy for departments as well. Say you have an editorial department, a graphics department, and an accounting department. You will have to have those accounts added to the system. You can add those accounts (and their home directories) with these commands:</p><p>sudo useradd -m ACCOUNT_NAME</p><p>sudo passwd ACCOUNT_NAME</p><p>Where ACCOUNT_NAME is the name of the user account to create. The above commands will create the user, the users&#8217; home directory, and give the user a password.</p><p>Once these accounts have been created you can log into the FTP server with the username and password.</p><p><strong>Final thoughts</strong></p><p>Setting up an FTP server couldn&#8217;t be any easier. With the Ubuntu Server already up and running, you can have anonymous ftp set up in about a minute.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/09/06/add-ftp-service-to-your-ubuntu-server/feed/</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Set up a reliable ftp server with proftpd</title><link>http://www.ghacks.net/2009/04/23/set-up-a-reliable-ftp-server-with-proftpd/</link> <comments>http://www.ghacks.net/2009/04/23/set-up-a-reliable-ftp-server-with-proftpd/#comments</comments> <pubDate>Thu, 23 Apr 2009 17:42:18 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Networks]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[anonymous ftp]]></category> <category><![CDATA[ftp]]></category> <category><![CDATA[linux server]]></category> <category><![CDATA[proftpd]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2009/04/23/set-up-a-reliable-ftp-server-with-proftpd/</guid> <description><![CDATA[If you have a need for an ftp server, and you have a Linux machine on your network, then you need look no further than proftpd. The proftpd project came about to fill the need for a secure and reliable ftp server for the Linux operating system. Proftpd uses a single configuration file, so it&#8217;s [...]]]></description> <content:encoded><![CDATA[<p>If you have a need for an ftp server, and you have a Linux machine on your network, then you need look no further than <a
title="proftpd" href="http://www.proftpd.org/" target="_blank">proftpd</a>. The proftpd project came about to fill the need for a secure and reliable ftp server for the Linux operating system. Proftpd uses a single configuration file, so it&#8217;s simple to set up. This ftp server was also based on an admiration for Apache, so there are many similarities between the two. For instance, where Apache uses .htaccess, proftpd uses .ftpaccess for per-directory configuration.Proftpd also support anonymous ftp access and can be run as a stand alone server or using inetd control.</p><p>The aim of this article is to show you how to quickly set up an ftp server for user access and anonymous access on your Linux server.</p><p><span
id="more-12303"></span><strong>Installing</strong></p><p>Installing proftpd is simple. If you are in a gui environment, open up your Add/Remove Software utility, do a search for proftpd, select the resulting proftpd entry, and apply the changes. If you are not in a gui environment you can issue a command similar to:</p><p><em>sudo apt-get install proftpd</em></p><p>or</p><p><em>yum install proftpd</em></p><p>To install the tool.</p><p><strong>Configuration</strong></p><p>The configuration file for proftpd is <strong>/etc/proftpd.conf</strong>. The first portion of the configuration file is dedicated to the main configuration options. If you are setting up a basic ftp server the only thing you may want to edit in this section is the ServerAdmin email address. In this same section you can switch the server from a stand-alone server (default) to an inetd-based by uncommenting the type you want and commenting out the type you don&#8217;t want.</p><p>Interestingly enough, once installed, by default you will have user-level ftp access by just starting the proftpd daemon. To do this issue the command:</p><p><strong>/etc/rc.d/init.d/proftpd start</strong></p><p>or</p><p><strong>/etc/init.d/proftpd start</strong></p><p>depending upon your distribution.</p><p>When your users log into their ftp account they will default to their home directory and can not navigate above their ~/ directory.</p><p><strong>Anonymous access</strong></p><p>Now if you want to add anonymous ftp access you have to visit another section of the <strong>/etc/proftpd.conf</strong> file. If you scroll down to around line 104 of this file you will see the opening anonymous tag &#8220;&lt;Anonymous&gt;&#8221;. Everything between this tag and the closing tag, &#8220;&lt;/Anonymous&gt;&#8221; refers to anonymous configuration.</p><p>By default all of the anonymous configuration is commented out. To create a simple anonymous ftp server setup you will want to uncomment out the following lines:</p><p><code>&lt; Anonymous &gt;<br
/> User                          ftp<br
/> Group                         ftp<br
/> AccessGrantMsg                "Anonymous login ok, restrictions apply."<br
/> UserAlias                     anonymous ftp<br
/> MaxClients                    10 "Sorry, max %m users -- try again later"<br
/> DefaultChdir                  /pub<br
/> &lt; /Anonymous &gt;</code></p><p>NOTE: There will be no spaces in the opening and closing tags.</p><p>Once you uncomment out them, restart the proftpd server and anonymous access will have been granted to users. When anonymous users log in to the server they will be confined to the <strong>/var/ftp</strong> directory (although to the user it will appear as &#8220;/&#8221;). Anonymous users will have access to two directories: <strong>pub</strong> and <strong>uploads</strong>. The <strong>pub</strong> directory is where anonymous users can download files and the <strong>uploads</strong> directory is where anonymous users can upload files.</p><p><strong>Final Thoughts</strong></p><p>Proftpd is one of the easiest ftp servers to get up and running. It is safe, reliable, and allows simple configuration for anonymous access. If you are looking for an ftp server that requires little hardware, can be deployed quickly, and will &#8220;just work&#8221; then proftpd is the logical choice.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/04/23/set-up-a-reliable-ftp-server-with-proftpd/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> </channel> </rss>
