Date: Sun, 02 Apr 2006 12:45:58 +0100 From: Bernd Trippel <trip@nosubject.org> To: freebsd-questions@freebsd.org Subject: Re: vsftpd pam problem Message-ID: <20060402124558.k4d42fzeo0sco0k0@webmail.nosubject.org> In-Reply-To: <442F16F3.4060209@bluelight.org.uk> References: <442F16F3.4060209@bluelight.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Terry <terry@bluelight.org.uk>: > Hi going by the docs for virtual users i have got to this file vsftpd.pam > > auth required /lib/security/pam_userdb.so db=/etc/vsftpd_login > account required /lib/security/pam_userdb.so db=/etc/vsftpd_login > > From google i gather pam_userdb.so isn't part of OpenPAM which is > what FreeBSD uses. So how do Freebsd users get round it or am i > missing some thing really silly. > In my understanding this is correct. There's no pam_userdb.so available for FreeBSD. You could use pam_pwdfile.so, which is in the ports-collection. Users are added/changed e.g. through htpasswd. Works well if you have not a lot of accounts. a simple vsftpd.pam could look like this: auth required /usr/local/lib/pam_pwdfile.so pwdfile /etc/vsftpd_login account required /usr/lib/pam_permit.so > Thanks >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060402124558.k4d42fzeo0sco0k0>