Contents


On-line Guides
All Guides
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
Book Store

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

 

 

The Unofficial Ubuntu Starter Guide
Prev Home Next

Q: How to configure FTP Server to allow anonymous FTP user to read only?

  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 ~ftp>
      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