$Header: /home/walid/PAM/pam_dpasswd/RCS/README,v 1.1 1998/04/24 21:38:24 walid Exp walid $

$Log: README,v $
Revision 1.1  1998/04/24 21:38:24  walid
Initial revision


I hacked together this module to get the same functionality that
we had on the old unix dialup server. Since I'm new to PAM I hope
I used it properly. Use at your own risk.

here's how I use it:

/etc/pam/login:

#%PAM-1.0
auth       required     /lib/security/pam_securetty.so
auth       required     /lib/security/pam_pwdb.so shadow nullok
auth       required     /lib/security/pam_nologin.so
auth       required     /lib/security/pam_auth_dpasswd.so
account    required     /lib/security/pam_pwdb.so
password   required     /lib/security/pam_cracklib.so
password   required     /lib/security/pam_pwdb.so shadow nullok use_authtok
session    required     /lib/security/pam_pwdb.so

The files /etc/dialups and /etc/d_passwd are required if you use this
module. I tried to make it behave exactly like it does on other unix
machines that I'm familiar with (sgi/sun).

example /etc/dialups:

/dev/ttyS0
/dev/ttyS1

example /etc/d_passwd:

/bin/sh:password:
/bin/csh:password:

/bin/sh or /sbin/sh is the default if there's no entry for the user's
shell in this file.


-walid
