vsftpd port not honoring /etc/shells
minter at lunenburg.org
Sat Aug 23 08:02:01 PDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
I installed the vsftpd port on my RELENG_4_8 system as a replacement
for the standard ftpd. However, it doesn't appear to be honoring
/etc/shells - a user listed in the passwd file with a shell
(/sbin/nologin) that does not appear in /etc/shells is still allowed to
FTP into the system.
I'm guessing this may be a problem with PAM, as I have
"check_shell=YES" in /usr/local/etc/vsftpd.conf, and the manpage for
vsftpd.conf says that this setting is only valid for non-PAM builds.
But I'm stumped as to how to lock down users via /etc/shells in the
default port build.
Any suggestions would be appreciated.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)
-----END PGP SIGNATURE-----
More information about the freebsd-questions