如何修复 Linux 中的“passwd:鉴定令牌操作错误”

修改一个普通用户密码,报"passwd: Authentication token manipulation error "
进到普通用户改不了,用root也改不了,用echo改密码也不行

/etc/pam.d/system-auth 这个配置文件
这两行注释打开
打了注释 就没有修改密码的功能了

故障重现

参考:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/4/html/reference_guide/s1-pam-sample-simple

posted @ 2022-03-17 16:37  Sureing  阅读(1631)  评论(0编辑  收藏  举报