首页 > 其他 > 详细

Authentication token manipulation error

时间:2014-03-25 15:48:49      阅读:354      评论:0      收藏:0      [点我收藏+]

Today i clone a redhat vm, But don‘t remember the password. ok, reboot, enter into the single user mode. How to enter into single user mode?

1.Edit the kernal when booting, append a "1" in the end. press enter to save. finally press "b" boot it

2.But when i try to change the password, it has this error.  "Authentication token manipulation error"

Try to directly delete the passwd, success.

#passwd -d root    

3.reboot , login normal mode. try to reset root password, The issue also exist.

4.check the passwd and shadow file.

#cp /etc/shadow /etc/shadow.back

#pwconv                 : This command generate a new shadow file by passwd file.

5.reset root password is ok.

# passwd root
Changing password for user root.
New password:
BAD PASSWORD: it is based on a dictionary word
BAD PASSWORD: is too simple
Retype new password:
passwd: all authentication tokens updated successfully.

Authentication token manipulation error,布布扣,bubuko.com

Authentication token manipulation error

原文:http://mianhuhu.blog.51cto.com/4782975/1382770

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!