-   Linux - Server (
-   -   Resetting root password on CentOS 7 system (

Tarikc 07-31-2014 08:14 AM

Resetting root password on CentOS 7 system
Hey there,

I've installed the CentOS 7 system, and now I want to reset the root password of it.

I know that the GRUB 2 is now in place, nothing is so called single user mode but instead the mode is in place which matches the single user mode.

But going into that mode asks for the root password.

Yes I know it, but what if I forgot it? :)

How to reset the root password? is it only through the Live CD now?.

Tried to google but nothing there yet on that system.

Hope some one got an answer.

All the best,

mcresist 07-31-2014 09:25 AM


Append the following to the kernel line:
rw init=/bin/bash

Seemed to work for me.

Hope this helps.

All times are GMT -5. The time now is 06:23 PM.