How to check if root password and grub password is same or not on RHEL 7 .
Hi I am trying to come up with a plan to write a script for syncing root password and grub password on RHEL 7.
If it was RHEL 6/5/4, I would simply compare shadow and grub.conf file,
but on RHEL 7 how can we acheive this. RHEL 7 uses grub2.cfg and their hash are different. Is there any other way I can accomplish this ?
Need a way to compare root and grub password and change if required ?
Thanks
Last edited by khpr0502; 09-15-2015 at 11:38 AM.
|