How To Reset Root Password On CentOS 7
1 – In the Boot Grub Menu Select Option to Edit 2 – Go to the line of Linux 16 and change ro with “rw init=/sysroot/bin/sh” 3 – Now press “Control+x” to start on single-user mode 4 – Now access the system with this command chroot /sysroot 5 – Reset the password passwd root 6 – Exit Chroot exit 7 – Reboot your system reboot That’s it. Enjoy.
Comments
Post a Comment