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 rescue.target 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, |
Howdy,
http://fedoraproject.org/wiki/How_to..._root_password 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 05:41 PM. |