FTP only user - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html) +--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html) +--- Thread: FTP only user (/thread-3991.html) |
FTP only user - Digerati - 2003-12-15 To add a user for ftp purpose only so they can log into their home dir and do nothing but upload and download. use: useradd -m -k /dev/null -s /sbin/nologin {username} for web use - if your hosting a www site for them and only want to give them ftp access useradd -d /var/www/html/{username} -m -k /dev/null -s /sbin/nologin {username} |