Problem with Password changes on Redhat machines - continued

Barry Brimer lists at brimer.org
Fri Nov 10 14:44:18 UTC 2006


> machines in /etc/pam.d/sysy-auth, i think it might be enforcing some strict
> password checking. Can anyone tell me what i need to change or delete in
> this file for the local root password to be changed? The file is below.
>
> #%PAM-1.0
> # This file is auto-generated.
> # User changes will be destroyed the next time authconfig is run.
> auth        required      /lib/security/$ISA/pam_env.so
> auth        sufficient    /lib/security/$ISA/pam_unix.so likeauth nullok
> auth        required      /lib/security/$ISA/pam_deny.so
>
> account     required      /lib/security/$ISA/pam_unix.so
>
> password    required      /lib/security/$ISA/pam_cracklib.so retry=3 type=
> password    sufficient    /lib/security/$ISA/pam_unix.so nullok use_authtok
> md5 shadow nis
> password    required      /lib/security/$ISA/pam_deny.so
>
> session     required      /lib/security/$ISA/pam_limits.so
> session     required      /lib/security/$ISA/pam_unix.so

Try changing your password lines to match this:

password    requisite     /lib/security/$ISA/pam_cracklib.so retry=3
password    sufficient    /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow

This is what my non-NIS system-auth file has for the password section.

Barry


More information about the redhat-list mailing list