ubuntu系统设置密码报错 Module is unknown
修改账户密码报错
# passwd
报错信息
passwd: Module is unknown
passwd: password unchanged
修改配置文件
# cd /etc/pam.d # cat common-password | egrep -v "#|^$"
password [success=1 default=ignore] pam_unix.so sha512 shadow nullok try_first_pass remember=10 password requisite pam_deny.so password required pam_permit.so password requisite pam_pwquality.so try_first_pass local_users_only retry=5 difok=3 minlen=8 minclass=3 enforce_for_root
注释最后一行
参考:
https://blog.csdn.net/Listen2You/article/details/92072547