April 2016
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

April 2016
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

rhel7 root user password cracking

Edit current kernel version into the grub menu bar, and finally add rd.break parameters linux6

linux16 /vmlinuz-3.10.0-327.el7.x86_64 root=/dev/mapper/rhel-root ro rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet rd.break Use ctrl + x to reboot the system to start

Remount the ‘root’ file system, and change into the / sysroot

mount -oremount,rw /sysroot chroot /sysroot Changing the root password

echo […]