Differences
This shows you the differences between two versions of the page.
linux_wiki:interrupt_the_boot_process_in_order_to_gain_access_to_a_system [2016/02/29 21:23] billdozor created |
linux_wiki:interrupt_the_boot_process_in_order_to_gain_access_to_a_system [2019/05/25 23:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Interrupt The Boot Process In Order To Gain Access To A System ====== | ||
- | |||
- | **General Information** | ||
- | |||
- | About this page/ | ||
- | |||
- | ---- | ||
- | |||
- | Recover the root user's password | ||
- | - Interrupt boot process at grub menu | ||
- | - Press " | ||
- | - Navigate to the " | ||
- | - Append " | ||
- | - Ctrl+x to continue boot process, it will stop within the initramfs shell | ||
- | - Remount sysroot file system as read/write: mount -o remount,rw /sysroot | ||
- | - Change root to that root file system: chroot /sysroot | ||
- | - Change root password: passwd | ||
- | - Have system relabel at boot: touch / | ||
- | - If this is not done, SELinux will prevent the /etc/passwd file from being changed | ||
- | - Exit the chroot jail: exit | ||
- | - Exit the initramfs shell: exit | ||
- | - System will reboot after a delay | ||
- | |||
- | ---- | ||