linux_wiki:interrupt_the_boot_process_in_order_to_gain_access_to_a_system

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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/how-to/script.  
- 
----- 
- 
-Recover the root user's password 
-  - Interrupt boot process at grub menu 
-  - Press "e" to edit the boot entry 
-  - Navigate to the "linux16" kernel entry 
-  - Append "rd.break" 
-  - 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 /.autorelabel 
-    - 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 
- 
----- 
  
  • linux_wiki/interrupt_the_boot_process_in_order_to_gain_access_to_a_system.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)