I've set up VSFTPD and tried to set it up for virtual users.
In the /etc/pam.d/vsftpd file, it reads:
#%PAM-1.0
session required pam_loginuid.so
auth required pam_userdb.so db=/etc/vsftpd/users.db
account required pam_userdb.so db=/etc/vsftpd/users.db
I created the users.db file by writing text on alternate lines in a file called users.txt using nano then using db_load -T -t hash -f users.txt users.db
When anyone tries to access their ftp account (to simplify things, the only account there is hmm with a password of hmm) the xfer log gives the following error:
Nov 18 21:22:13 server vsftpd: pam_userdb(vsftpd:auth): user_lookup: could not open database `/etc/vsftpd/users.db': No such file or directory
Any ideas?
In the /etc/pam.d/vsftpd file, it reads:
#%PAM-1.0
session required pam_loginuid.so
auth required pam_userdb.so db=/etc/vsftpd/users.db
account required pam_userdb.so db=/etc/vsftpd/users.db
I created the users.db file by writing text on alternate lines in a file called users.txt using nano then using db_load -T -t hash -f users.txt users.db
When anyone tries to access their ftp account (to simplify things, the only account there is hmm with a password of hmm) the xfer log gives the following error:
Nov 18 21:22:13 server vsftpd: pam_userdb(vsftpd:auth): user_lookup: could not open database `/etc/vsftpd/users.db': No such file or directory
Any ideas?