Create FTP user from SSH

Wow! amazing ……

Do you want to create FTP user from linux command line SSH?

First you have to install FTP daemon like

vsftpd: http://www.cyberciti.biz/tips/linux-creating-ftp-account-with-vsftpds.html

proftpd: http://www.cyberciti.biz/tips/linux-installing-configuring-proftpd-ftp-server.html

Use below commands to create FTP user in Web accessible location

# useradd -c ‘FTP USER svnlabs’ -m svnlabs -d /var/www/html/svnlabs

# chmod -R 775 /var/www/html/svnlabs