How to recover root password in Centos 6 ?



How to recover the root password ?


1) Press ' E ' when starting the server.


How to recover the root password in Centos 6 ?


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


How to recover the root password in Centos 6 ?

How to recover the root password in Centos 6 ?


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


How to recover the root password in Centos 6 ?


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



How to recover the root password in Centos 6 ?

How to recover the root password in Centos 6 ?



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


How to recover the root password in Centos 6 ?


6) Use command 'reboot' to reboot server.




转载于:https://blog.51cto.com/avaya/1759541

相关文章:

  • 2022-12-23
  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2021-10-10
  • 2022-03-03
  • 2021-11-03
  • 2021-06-07
猜你喜欢
  • 2021-09-18
  • 2022-12-23
  • 2021-11-06
  • 2022-12-23
  • 2021-05-01
  • 2021-05-23
  • 2022-12-23
相关资源
相似解决方案