Resetting the root password in RHEL7/CentOS7/Scientific Linux 7
RHEL7 / CentOS7 / Scientific Linux 7
Things have changed in the RHEL7 world and so has the preferred way of resetting the root password. Although the old way of interrupting the boot process (init=/bin/bash) still works, it is no longer bulletproof and recommended.
‘Systemd’ uses ‘rd.break’ to interrupt the boot. Let’s have a quick walk through the whole procedure.