Reset Root Password
Reset root password on rhel7
reboot to grub
during boot to grub2 ,press e
to edit grub settings.
scroll down to linux16
line and add rd.break
at the end of the line.
then tap ctrl+x
to resume boot
reset password
switch_root:/# mount -o remount,rw /sysroot
chroot /sysroot
echo Password | passwd --stdin root
touch /.autorelabel
exit