create ftp user for vsftpd server without home directory
hi
I have 2 questions: 1.) howto create ftp user for vsftpd server without home directory ? 2.) howto configure /etc/vsftpd.conf to log automatically to /srv and allow only /srv directory and its under-directories ? greetings cccc |
I have a similar setup at home.
Create the user, once it's created edit /etc/passwd as root. Look for the line where the user is listed. The last part is going to have the home directory and then the shell. Change the home directory to /srv and the shell to /bin/false. Then the user cannot login to the shell. Then you edit /etc/vsftpd.conf chroot_local_user yes local_enable yes That's from memory, but that should work. |
thanks,
and howto allow only ftp group ? |
All times are GMT -5. The time now is 10:03 AM. |