Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Apr 2006 16:36:48 +0100
From:      Terry <info@redshells.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: vsftpd pam problem
Message-ID:  <442FEF90.6090700@redshells.co.uk>
In-Reply-To: <20060402120045.24F1116A46E@hub.freebsd.org>
References:  <20060402120045.24F1116A46E@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
 >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


Just to let you know that worked a treat

Thanks




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?442FEF90.6090700>