On Tue, 20 May 2008 22:51:15 +0200, Anders Johansson <ajh@rydsbo.net> wrote:
On Tuesday 20 May 2008 22:10:27 Jeremy Leonard wrote:
If I remove the remember= from pam_pwcheck.conf then the opasswd file never gets updated.
Correct. Forgot that cracklib only reads. You need to change the order of the checks. This works
password required pam_cracklib.so retry=3 minlen=9 dcredit=-2 ucredit=-2 ocredit=-2 lcredit=-2 difok=1 debug password requisite pam_pwcheck.so nullok use_authtok password required pam_unix2.so nullok use_authtok
With it configured as above history works correctly. But it doesn't enforce the cracklib stuff. It also asks for the new password then the old password It says the password was updated successfully then is says the update failed. The password is changed though.
but oh dear is it annoying to find a password it will accept :)
Anders
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org