New answers tagged user-permissions
First of all you have to edit /etc/vsftpd.conf to read: chroot_local_user=YES And then perform the command: usermod --home /var/www/ ftp Where ftp is the user
Creating a user: At the simplest level it's a case of using the useradd command, with certain flags. You'll probably want to make sure you create a "system" user so that it doesn't appear on login windows, and if possible give it the shell /sbin/nologin, for security reasons. Also, try and avoid giving it sudo access unless it absolutely needs it - again, ...
Top 50 recent answers are included