首页 > 其他 > 详细

How to recover the root password in Centos 6 ?

时间:2016-04-03 07:48:53      阅读:231      评论:0      收藏:0      [点我收藏+]

How to recover root password in Centos 6 ?



How to recover the root password ?


1) Press ‘ E ‘ when starting the server.


技术分享


2) Select Kernel followed by pressing ‘ E ‘ to edit the commands.


技术分享

技术分享


3) Add ‘single‘ or ‘1‘ then press enter.


技术分享


4) Press " B " to boot server with single user mode.



技术分享

技术分享



5) Use command ‘passwd root‘ to change the root password.


技术分享


6) Use command ‘reboot‘ to reboot server.




本文出自 “Avaya” 博客,请务必保留此出处http://avaya.blog.51cto.com/4259683/1759541

How to recover the root password in Centos 6 ?

原文:http://avaya.blog.51cto.com/4259683/1759541

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