You may forget the Root password which is hard to believe, but it does happen everyday. here is the tips to recover the root password for Centos. bad day, no way to get root access.
Now, restart the VM and boot to the geekmode. by press any key, or CTL+X to the grub mode.
Now, Press ‘e’ to edit the command line. we need tell the kernal boot from graphics mode to single user mode
user arrow key up/down to select the kernal line,
Press e, to edit the command line, you will see the follow screen,
Now, it is on the grphics mode, rhgb=red hat graphical boot
Let’s change it to single user mode, by replacing the rhgb quiet.
Before,
Press enter to switch the parent screen. then press b to boot the single mode kernel, you can tell linux single is there
Once Done, you are in single user mode.
remember the password this time, no typo please.
3 comments:
Nice Blog. Thanks for sharing with us. Such amazing information.
How to Turn your Shopping Store Interesting
MyBlogger Club
Guest Posting Site
Best Guest Blogging Site
Guest Blogger
Guest Blogging Site
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
mechanical engineering traineeship
online iot course
online course for c programming
cyber security course with job guarantee
electrical engineering inservice training
Post a Comment