Easy way to reset forgotten root password in CentOS 6.5

Rasho

Linux System Administrator with over 8 years experience in administering production level servers (CentOS/Ubuntu/Debian with apache2/nginx, mysql server, etc)

You may also like...

4 Responses

  1. 1)从启动进入用户维护模式,系统会主动给予root权限的bash接口,然后用passwd修改密码.
    2)以Live CD开机后挂载根目录去修改/etc/shadow.

  2. Haseeb Ahsan Khan says:

    JazakAllah, Thanku so much. It works

  3. Y. says:

    It works until you secured your grub and… also forgot your GRUB password XD… #truestory T.T

  4. Francis Amaning says:

    Thanks for the step, it works but am not able to login after reboot.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.