| How To Setup FTP On Linux Using ProFTPD |
|
|
|
| How To - FTP | |
| Written by Christian Foronda | |
| Thursday, 04 November 2010 14:34 | |
|
Install proftpd: # aptitude install proftpd or # yum install proftpd Add this line in /etc/shells file: # vi /etc/shells /bin/false Create the shared directory: # mkdir /home/FTP-shared Create a user which will be accessing ftp shared directory: # useradd ftpuser -p ftpuserpassword -d /home/FTP-shared -s /bin/false # passwd ftpuser Create the download and upload directory: # mkdir /home/FTP-shared/download # mkdir /home/FTP-shared/upload Set the proper permissions: # chmod 755 /home/FTP-shared # chmod 755 /home/FTP-shared/download # chmod 777 /home/FTP-shared/upload Edit the proftpd.conf file: # vi /etc/proftpd.conf DefaultRoot ~ RequireValidShell off UseFtpUsers off Syntax check of your proftpd.conf file: # proftpd -td5 Start proftpd: # /etc/init.d/proftpd start Monitor which hosts are connected to your server: # ftptop ftptop/0.9: Thu Nov 4 14:07:25 2010, up for 2 hrs 34 min 0 Total FTP Sessions: 0 downloading, 0 uploading, 0 idle PID S USER CLIENT SERVER TIME COMMAND Similar articles
|
|
| Last Updated on Thursday, 04 November 2010 14:35 |


