Local users in VSFTPD can't have a a false shell (was, VSFTPD problems with all logins anonymous or PAM)
Gabriel M Dragffy
dragffy at yandex.ru
Sat Oct 7 02:53:17 UTC 2006
On Fri, 2006-10-06 at 10:46 -0700, Mike Bird wrote:
> On recent Debian-derived systems, as root, you can:
>
> # ln -s /bin/false /sbin/nologin
> # echo /sbin/nologin >>/etc/shells
>
> - and then specify /sbin/nologin as the shell for those users.
>
> --Mike Bird
>
Oh my lord, it works! it works!
How in the devil did you figure this out? More importantly am I really
stupid for not having been able to do it myself? Because the VSFTPD
documentation often states not to have chrooted users that have access
to a shell, but it doesn't say that /bin/false won't work.
This would seem to be a bit of a small discrepency, why can't vsftpd
allow a user to login that has a shell of /bin/false? Pureftpd can, no
probs, hmm.
Thank you ever so much for that simple, but life-saving advice, Mike.
More information about the ubuntu-users
mailing list