解决linux修改用户密码时碰到的错误“passwd: Authentication token manipulation error”
https://blog.csdn.net/weixin_43034477/article/details/82177687这个帖子很好[root@scaqad02adm01 pam.d]# passwd gridChanging password for user grid.passwd: Authentication token manipulation error这是因为由于直接注释掉了/e
·
https://blog.csdn.net/weixin_43034477/article/details/82177687
这个帖子很好
[root@scaqad02adm01 pam.d]# passwd grid
Changing password for user grid.
passwd: Authentication token manipulation error
这是因为由于直接注释掉了/etc/pam.d/system-auth 里面的这两行
#password required pam_pwquality.so minlen=8 minclass=4 dcredit=-1 ucredit=-1 lcredit=-1 ocredit=-1 difok=8 maxrepeat=3 maxclassrepeat=4 local_users_only retry=3 authtok_type=
#password sufficient pam_unix.so try_first_pass use_authtok sha512 shadow remember=10
这两行不能直接注释,这两行需要修改成下面这样
/etc/pam.d/system-auth
#password required pam_pwquality.so minlen=8 minclass=4 dcredit=-1 ucredit=-1 lcredit=-1 ocredit=-1 difok=8 maxrepeat=3 maxclassrepeat=4 local_users_only retry=3 authtok_type=
#password sufficient pam_unix.so try_first_pass use_authtok sha512 shadow remember=10
password required pam_pwquality.so
password sufficient pam_unix.so
更多推荐
已为社区贡献4条内容
所有评论(0)