CentOS 7 系统破密报错"Authentication token manipulation"

CentOS 7 系统破密报错"Authentication token manipulation error"

        centos系统的破密方式,在这里就不做介绍了。
  服务器进入单用户修改密码提示:Authentication token manipulation error

CentOS 7 系统破密报错"Authentication token manipulation"
理论上需要用chattr命令将/etc/passwd 和/etc/shadow的 i权限撤销,然后再修改,就可以了。
chattr -i /etc/passwd
chattr -i /etc/shadow
但在查看时,这个两个文件都没有i权限,
我这边就再加入i权限,加入权限后在取消i权限,再次修改密码成功。

猜你喜欢

转载自blog.51cto.com/zhanx/2140434