In Feburary 2016 05,
Access the Terminal program is found under the 'Accessories' sub-menu. Open a Terminal sub-window.
Type the command 'su' to become the root user. Type the root password when prompted.
Type the command 'apt-get install proftpd' to install the ProFTPd server software.
Choose 'standalone' when prompted during the installation process.
Type the command '/etc/init.d/proftpd stop' to stop the FTP server.
Open the '/etc/proftpd.conf' file in your preferred text editor.
Add the line 'DefaultRoot ~' to restrict users to the contents of their home directory. Choose a different directory, if you wish, by typing 'DefaultRoot /dir' and replacing 'dir' with the directory you want to restrict users to.
Uncomment the lines between '' and '
' to allow anonymous access.
Change the 'ServerName' option to the host name of your computer, if you prefer.
Save and close the '/etc/proftpd.conf' file.
Type '/etc/init.d/proftpd start' to restart the FTP server.
In Feburary 2016 05,
No comments:
Post a Comment