create ftp user for vsftpd server without home directory
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 ?
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
That's from memory, but that should work.
and howto allow only ftp group ?
|All times are GMT -5. The time now is 01:32 PM.|