SUSE修改密码出现“passwd: Have exhausted maximum number of retries for service”

host1:~ # echo midware1|passwd --stdin midware
Changing password for midware.
passwd: Have exhausted maximum number of retries for service



修改/etc/pam.d/common-password

password        required        pam_pwhistory.so        remember=5 retry=3

修改remember参数为1,修改完密码之后再将参数恢复。


你可能感兴趣的:(修改密码,password,remember)