Hi all

I trying to create a PAM db to authenticate virtual users in vsFTPd.

I have read /usr/share/doc/vsftpd/EXAMPLE/VIRTUAL_USERS/README but I get problems on Step 1...

Here is what the readme file says:

##### START #####

Step 1) Create the virtual users database.
We are going to use pam_userdb to authenticate the virtual users. This needs
a username / password file in "db" format - a common database format.
To create a "db" format file, first create a plain text files with the
usernames and password on alternating lines.
See example file "logins.txt" - this specifies "tom" with password "foo" and
"fred" with password "bar".
Whilst logged in as root, create the actual database file like this:

db_load -T -t hash -f logins.txt /etc/vsftpd_login.db
(Requires the Berkeley db program installed).
NOTE: Many systems have multiple versions of "db" installed, so you may
need to use e.g. db3_load for correct operation. This is known to affect
some Debian systems. The core issue is that pam_userdb expects its login
database to be a specific db version (often db3, whereas db4 may be installed
on your system).

##### END #####

I cannot even locate the binary/script db_load, db3_load or db4_load.
I have installed "libberkeleydb-perl" on my Sarge box.

How can I create the database???

-Øyvind


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to