---------------
Christof.Meerwald@ pam_db.project

home
> pam db

translate to German (by SYSTRAN)

Overview

pam_db helps you to build and administrate a mail-server without creating a passwd-entry for every mail account.

Prerequisites

Installation Notes

  • untar pam_db-x.y.tar.gz
  • $EDITOR Makefile and edit it according to your needs
  • make
  • su
  • make install or just manually copy the files...
  • configure PAM authentication for qpopper in /etc/pam.d/qpop as in etc.pam.d/qpop
  • untar qpopper2.53
  • apply the supplied qpopper PAM patch
  • Edit the uid and gid values (currently set to 8) which should be used for PAM mail accounts (they are set in pop_pass.c, about line 655). If you are using sendmail as MTA they must match the setting 'O DefaultUser' in sendmail.cf.
  • compile qpopper: make 'O_DEFS=-DLINUX -DPAM' 'LIBS=-lcrypt -lpam -ldl'
  • install qpopper
  • Edit your MTA configuration to add /etc/aliases.mailusers.db as an additional aliases file
  • reconfigure your MTA: kill -1 mta.pid

Scripts

adduser.db [username]
Add a user
chage.db [username]
Change password aging parameters
checkpwdb
TODO
checkuser.db
TODO
chfn.db [username]
Change the user's full name, ...
convpasswd
Convert a /etc/passwd file into a password database
convsecrets
Convert a /etc/ppp/pap-secrets file into a password database
deluser.db [username]
Delete a user account (TODO: delete also the aliases entry)
dumpaliases
Generate a text-dump of the aliases database
dumppasswd
Generate a text-dump of the password database
mkpwdb
Generate a password database from a text-dump
passwd.db [username]
Change a user's password
procwtmp
process the /var/log/wtmp file and generate a per-user login statistic (not useful for mail-only accounts)
useradm.db
TODO

FAQ

Why is there no script for ...?
I have no need for it (or maybe haven't had time to write it) and nobody has contributed it.
I can't access the password database from (Python|sendmail|exim|qpopper)?
Maybe one of your components uses a different database library. Make sure all your components use the same database library and version.
Why is there no documentation?
I don't get paid for writing documentation for this program... :-)

Download

> pam_db-0.1.tar.gz
> qpopper-2.53.diff.gz (qpopper-2.53 PAM patches)

---------------

This Web page is licensed under the Creative Commons Attribution - NonCommercial - Share Alike License. Any use is subject to the Privacy Policy.

Revision: 1.5, cmeerw.org/pam_db/
Last modified: Sun Jun 11 19:54:04 2000
Christof Meerwald <cmeerw@cmeerw.org>
XMPP: cmeerw@cmeerw.org