当用户在 Red Hat Enterprise Linux 中更改其密码时,出现 "passwd:Authentication token manipulation error"
Issue
- 用户无法使用
passwd更改密码并出现错误 "passwd:Authentication token manipulation error" - 有些用户无法更改自己的密码:
# su - testuser
$ passwd
Changing password for user testuser
Changing password for testuser
(current) UNIX password:
passwd: Authentication token manipulation error
我尝试更改一个用户的密码,但 root 用户都不能执行此操作:
# passwd testuser
Changing password for user testuser.
passwd: Authentication token manipulation error
root 可以更改本地用户的密码。新添加的用户也可以更改其密码,但现有用户无法更改其密码。
Environment
- Red Hat Enterprise Linux (RHEL)
- passwd
- shadow
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.