If you have forgotten your root password on a Red Hat enterprise Linux 7, this article will help you. In this video will guide you simple steps to recovery root password in Red Hat 7.
• How to reset or recovery root passwor...
Simple Steps :
1. Restart your machine
2. press "e"
3. Go to Linux 16 line kernel UTF end "type belwo given comman"
rd.break console=tty1
4. Press crtl+x to boot your system
5. mount -o rw,remount/sysroot
6. chroot /sysroot
7. passwd root
new password:XXXXXX
Retype password:XXXXXX
8. touch /.autorelabel
9. exit
10.reboot