sorry... I just now noticed your name on the Linux-pam web page. Is this the pam_unix that you wrote to do everything that pam_pwdb can do, and is it the one that is distributed with RedHat 6.x? >On Thu, 08 Feb 2001, Rick Goyette wrote: > >> I must not be doing this quite right. I placed a line in the passwd >> file in /etc/pam.d so that it now looks like this: >> >> more /etc/pam.d/passwd >> >> #%PAM-1.0 >> auth required /lib/security/pam_pwdb.so shadow nullok >> account required /lib/security/pam_pwdb.so >> password required /lib/security/pam_unix.so nis >> password required /lib/security/pam_cracklib.so retry=3 >> minlen=11 dcredit=2 difok=3 >> password required /lib/security/pam_pwdb.so use_authtok >>nullok md5 shadow >> >> Now when I use passwd instead of yppasswd it asks me everything >> twice, and I get an error at the end, although it does seem to be >> talking to the NIS server. >[cut] > >This is what I use and it works for me (/etc/pam.d/passwd): >auth required /lib/security/pam_unix.so >account required /lib/security/pam_unix.so >password required /lib/security/pam_cracklib.so >difok=2 minlen=8 dcredit=2 ocredit=2 retry=3 >password required /lib/security/pam_unix.so nis use_authtok > >Jan >-- >Jan Reœkorajski | ALL SUSPECTS ARE GUILTY. PERIOD! >baggins<at>mimuw.edu.pl | OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY? >BOFH, MANIAC | -- TROOPS by Kevin Rubio > > > >_______________________________________________ > >Pam-list@redhat.com >https://listman.redhat.com/mailman/listinfo/pam-list -- R. J. Goyette Argonne National Laboratory rjgoyette@anl.gov (630) 252-4328 http://www.pns.anl.gov