User login settings in /etc/passwd
Posted on 2004-08-07
When adding a user to my system using the default adduser xxx command, the suer can (by default) log in via ssh as long as I set a password.
What I want is for some users to NOT be able to log in via SSH, yet, they must still be able to use vsftp.
If I change the /etc/passwd entry for the specific user to /bin/nologin, then the user cannot login via SSH , but the user cannot use ftp either...
Is there a way?