change password need input four times
/etc/pam.d/passwd
#%PAM-1.0
auth required pam_stack.so service=system-auth
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
password requisite pam_cracklib.so dcredit=-1 ucredit=-1 lcredit=-1 ocredit=-1 minlen=6
password required pam_unix.so use_authtok nullok md5
password required pam_unix.so remember=5 use_authtok
it needs input four times to change password
like this:
[root@localhost pam.d]# passwd gkpt
Changing password for user gkpt.
New UNIX password:
Retype new UNIX password:
New UNIX password:
when i delete the fourth line “password required pam_stack.so service=system-auth”,i can change passwd successfully!
is this line conflict with others?thanks!
|