How To's

Reset CentOS 6 Password

3,315 views · 0 found this helpful

Was this helpful?

We all forget our passwords. It happens. Here's how to deal with it when it does.

CentOS 6

Reboot the server and spam any key until you reach the grub menu.

At the grub menu press e, navigate to the kernel /vmlinuz option and press e again.

Then append "single" or "1" to the end of the kernel line.

Press F10 to boot and you should reach a prompt.

Change the root password.

passwd

Reboot the server and log in using your new password

  • Updated

← All articles

Still stuck?

Our engineers answer tickets directly, 24/7.