CentOS 7 系统破密报错"Authentication token manipulation"
CentOS 7 系统破密报错"Authentication token manipulation error"centos系统的破密方式,在这里就不做介绍了。
服务器进入单用户修改密码提示:Authentication token manipulation error
http://i2.运维网.com/images/blog/201807/11/135370e5feeff1703225f475d525a96a.png
理论上需要用chattr命令将/etc/passwd 和/etc/shadow的 i权限撤销,然后再修改,就可以了。
chattr -i /etc/passwd
chattr -i /etc/shadow
但在查看时,这个两个文件都没有i权限,
我这边就再加入i权限,加入权限后在取消i权限,再次修改密码成功。
页:
[1]