Tag Archives: change root password of linux 7

RHCSA-7: EX-200: Interrupt the boot process in order to gain access to a system

Reboot the machine interrupt the boot processor Write this at the end of the line that start with linux16 /vmlinuz-****** rd.break Press ctrl + x ctrl+x Machine will start with switch_root prompt switch_root:/# switch_root:/# findmnt Make the file sytem Read/Write switch_root:/# mount -o remount,rw /sysroot change root into sysroot switch_root:/#chroot /sysroot Now change the password… Read More »