修改root密码passwd: Authentication token manipulation error
2013-01-21 13:21
218 查看
修改密码时提示错误
[root@WS10111509 ~]# passwd root
Changing password for user root.
New UNIX password:
Retype new UNIX password:
passwd: Authentication token manipulation error
2,修改权限时提示错误
[root@WS10111509 ~]# chmod 755 /etc/passwd
chmod: changing permissions of `/etc/passwd’: Operation not permitted
3,同步/etc/passwd 和/etc/shadow出错
#pwconv
pwconv: can’t lock passwd file
4,操做方法。
检查:
# fuser -u /etc/passwd //查看是否有写入权限
# lsof |grep passwd //查看是否有写入权限
# ll /etc/.pwd.lock //查看是否有此文件
# df -i //查看是否空间被占满
# lsattr /etc/shawr //查看是否被写保护
lsattr /etc/passwd
—i———- //被标记了i属性
chattr -i /etc/passwd
chmod 755 /etc/passwd
lsattr /etc/shawr
—-i——– //被标记了i属性
chattr -i /etc/shaw
chmod 755 /etc/shaw
#pwconv 同步/etc/passwd 和/etc/shadow
pawsswd root 不会出错了。修改密码后
5,加回保护
#chattr命令只能管理员使用,重新保护passwd文件
chattr +i /etc/passwd
chattr +i /etc/shaw
还有一种可能就是有的系统是限制了5天内不能修改密码,也会出现这样的错误。
[root@WS10111509 ~]# passwd root
Changing password for user root.
New UNIX password:
Retype new UNIX password:
passwd: Authentication token manipulation error
2,修改权限时提示错误
[root@WS10111509 ~]# chmod 755 /etc/passwd
chmod: changing permissions of `/etc/passwd’: Operation not permitted
3,同步/etc/passwd 和/etc/shadow出错
#pwconv
pwconv: can’t lock passwd file
4,操做方法。
检查:
# fuser -u /etc/passwd //查看是否有写入权限
# lsof |grep passwd //查看是否有写入权限
# ll /etc/.pwd.lock //查看是否有此文件
# df -i //查看是否空间被占满
# lsattr /etc/shawr //查看是否被写保护
lsattr /etc/passwd
—i———- //被标记了i属性
chattr -i /etc/passwd
chmod 755 /etc/passwd
lsattr /etc/shawr
—-i——– //被标记了i属性
chattr -i /etc/shaw
chmod 755 /etc/shaw
#pwconv 同步/etc/passwd 和/etc/shadow
pawsswd root 不会出错了。修改密码后
5,加回保护
#chattr命令只能管理员使用,重新保护passwd文件
chattr +i /etc/passwd
chattr +i /etc/shaw
还有一种可能就是有的系统是限制了5天内不能修改密码,也会出现这样的错误。
相关文章推荐
- root 密码修改 passwd: Authentication token manipulation error
- linux中普通用户修改密码出现(passwd:Authentication token manipulation error)
- 修改密码报错:passwd: Authentication token manipulation error
- CENTOS单用户下修改密码报“passwd: Authentication Token Manipulation Error”
- Ubuntu修改用户密码时,出现: passwd: Authentication token manipulation error
- linux中普通用户修改密码出现(passwd:Authentication token manipulation error)
- root无法修改密码,提示:Authentication token manipulation error
- linux中普通用户修改密码出现(passwd:Authentication token manipulation error)
- linux中修改密码(passwd: Authentication token manipulation error)
- 修改root密码时,提示athentication token manipulation error
- E10-linux 不让改密码, 提示:passwd: Authentication token manipulation error
- ubuntu忘记密码 修改密码报错 Authentication token manipulation error解决
- 无法修改linux/ubuntu密码(Authentication token manipulation error )问题解决过程
- [zz]linux修改密码出现Authentication token manipulation error的解决办法
- linux 无法改密码提示:passwd: Authentication token manipulation error
- linux修改密码出现Authentication token manipulation error的解决办法
- linux修改密码出现Authentication token manipulation error的解决办法
- 无法修改linux密码Authentication token manipulation error 问题解决
- linux修改密码出现Authentication token manipulation error的解决办法
- RHEL6 修改口令报错passwd: Authentication token manipulation error