[Keine deutsche Version verfügbar]

userdbadm

userdbadm is a Perl program for managing a userdb database with user names and crypted passwords, as used e. g. by PAM's pam_userdb module. You will need such a database for example if you want to create virtual users for vsftpd.

With userdbadm, such a list can be easily maintained. It takes the database's file name as the first command line argument, then a command (one of list, add, edit and del):

list
List all users in the database
add <user>
Adds <user> to the database. You will prompted for a password.
edit <user>
The the password for <user>. You will prompted for a password.
del <user>
Removes <user> from the database.

That's it :-) But I think this is much more comfortable than any other script I found to handle a userdb.

If you're interested in how I managed to setup vsftpd with virtual users, have a look at the Linux Know How.

Getting involved

The current state of the code can be checked out from git://git.l3u.de/userdbadm.git (see also http://git.l3u.de/?p=userdbadm.git). Please always patch against git master!

Download

Latest Version

userdbadm-0.1.tar.gz
1.6 KB, Last Change: 2013-02-20

nasauber.de © 2005–2017 by Tobias Leupold