ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 更改root密码:Authentication token manipulation error 分享

更改root密码:Authentication token manipulation error 分享

原创 Linux操作系统 作者:season0891 时间:2010-07-02 17:36:24 0 删除 编辑

1 现象

#passwd
Changing password for user root.
New UNIX password:
Retype new UNIX password:
passwd: Authentication token manipulation error

2 解决方法

chattr -i /etc/passwd
chattr -i /etc/shadow

 

# passwd
Changing password for user root.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

chattr +i /etc/passwd
chattr +i /etc/shadow

 

 

3.原因分析:下面两个文件加了+i属性

/etc/passwd
/etc/shadow

我正在玩搜狐微博,快来“关注”我,了解我的最新 动态吧。
http://thriston.t.sohu.com/

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/90618/viewspace-667024/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-06-10

  • 博文量
    790
  • 访问量
    2098071