How to reset the root user password ( Centos and RHEL) | AT BOOT from the Grub Menu.
How to reset the root user password ( Centos and RHEL) Step by Step for resetting the password for the root user, Suppose you forgot the password whatever be the reason maybe you have not to access machine longer time so for this video is having all the information for resetting the password for root user or any other user.
While watching you can see the commands below.
Go to the boot grub menu for this you have to press esc key and then press e
Search for Linux 16 and change ro with rw init=/sysroot/bin/sh.
press Control+x to start on single-user mode
access the system with below command
chroot /sysroot
Reset the password
passwd root
Update selinux info
touch /.autorelabel
exit
reboot
#Password
#Reset
#Linux
centos 8