2007/3/23, Kyrre Nygård <[EMAIL PROTECTED]>:
At 22:08 21.03.2007, Derek Ragona wrote:
>For so few users, you can use regular accounts with the shell set to:
>At 11:47 AM 3/21/2007, Vincent Bolinard wrote:
>>I'd like to know how can I set up virtual users without pam_userdb.so
>>(which is not included in OpenPAM).
>>vsftpd needs pam_userdb.so to authenticate against the db Berkeley database.
>>What else can I use ?
>>I don't want to use MySQL because there won't be a lot of virtual
>>users (< 50).
>>Thank you for your help.
>>firstname.lastname@example.org mailing list
>>To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>>This message has been scanned for viruses and
>>dangerous content by MailScanner, and is
>>believed to be clean.
>>MailScanner thanks transtec Computers for their support.
You can use htpasswd instead: htpasswd vsftpd.db <username>
Then back up your /etc/pam.d/ftpd (maybe ftp as well) and replace its
auth required /usr/local/lib/pam_pwdfile.so pwdfile /usr/local/etc/vsftpd.db
account required /usr/lib/pam_permit.so
I hope it works.
I followed Kyrre's advice and use pam_pwdfile and htpasswd to generate
the (encrypted) password file.
Thanks for your answers !
email@example.com mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"