Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

The Unofficial Ubuntu Starter Guide
Prev Home Next

Q: How to map anonymous FTP user to folders outside /home/ftp/?

  1. Read General Notes
  2. Read How to install FTP Server for File Transfer service?
  3. sudo cp /etc/proftpd.conf /etc/proftpd.conf_backup
    sudo gedit /etc/proftpd.conf
  4. Append the following lines at the end of file
    <Anonymous /location_of_folder/>
      User                        ftp
      Group                       nogroup
      UserAlias                   anonymous ftp
      DirFakeUser on ftp
      DirFakeGroup on ftp
      RequireValidShell           off
      MaxClients                  10
      DisplayLogin                welcome.msg
      DisplayFirstChdir           .message
      <Directory *>
        <Limit WRITE>
          DenyAll
        </Limit>
      </Directory>
    </Anonymous>
  5. Save the edited file (sample)
  6. sudo /etc/init.d/proftpd restart
The Unofficial Ubuntu Starter Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire