Monday 24 October 2016

How To Reset Root Password On CentOS 7

Selection_005
3 – Go to the line of Linux 16 and change ro with rw init=/sysroot/bin/sh.

Selection_006
4 – Now press Control+x to start on single user mode.
Selection_007
5 – Now access the system with this command.
chroot /sysroot
6 – Reset the password.
passwd root
7 – Update selinux information
touch /.autorelabel
8 – Exit chroot
exit
9 – Reboot your system
reboot

Reference Link

No comments:

Post a Comment

How to install google-chrome in redhat without redhat subscription

Install google-chrome in redhat  Download the .rpm file of chrome https://www.google.com/chrome/thank-you.html?installdataindex=empty&st...