RHEL7/CENTOS7: Interrupt the boot process in order to gain access to a system.
sh-4.2# Changing password for user root. New passwd: mypassword Retype new password: mypassword passwd: all authentication token updated successfully. sh-4.2# exit switch_root:/# logout
... [ OK ] Started Network Manager Script Dispatcher Service. [ OK ] Started Crash recovery kernel arming. [ OK ] Reached target Multi-User System. CentOS Linux 7 (Core) Kernel 3.10.0-229.14.1.el7.x86_64 on an x86_64 vm login: Password: mypassword