piyushlathiya of Aureatelabs
12/23/2016 - 10:59 AM

Create FTP Account Via SSH

Create FTP Account Via SSH

useradd <user>
groupadd <group-name>
gpasswd -a <user> <group-name>
chgrp -R <group-name> /path/to/dir/
chmod -R g+rw /path/to/dir/
passwd <user>