Booting into Single User Mode To boot into Single User Mode on CentOS/RHEL 7/8, follow these steps: Restart the System: Restart your CentOS/RHEL machine and wait for the GRUB boot menu to appear. Edit GRUB Menu: Select your kernel version from the GRUB menu and press the e key to edit the boot options. Locate the line starting with linux16 (for CentOS/RHEL 7) or linux (for CentOS/RHEL 8). Modify Boot Parameters: Change the argument ro to rw init=/sysroot/bin/sh for CentOS/RHEL 7, or append systemd.unit=rescue.target for CentOS/RHEL 8. Boot into Single User Mode: Press Ctrl-X or F10 to boot into Single User Mode. This will give you access to an emergency shell. Mount Root Filesystem: Once in the emergency shell, mount the root filesystem using the command: chroot /sysroot/ Perform Maintenance Tasks: You can now perform the necessary low-level system maintenance tasks. Reboot the System: After completing the maintenance tasks, reboot the system using: reboot -f Important Considerations Password Protection: By default, Single User Mode is not password-protected, which means anyone with physical access to the machine can enter this mode and potentially compromise the system. It is advisable to password-protect Single User Mode to enhance security 1 . Rescue and Emergency Modes: In CentOS/RHEL 7/8, Single User Mode is often referred to as Rescue Mode (rescue.target) or Emergency Mode (emergency.target). Rescue Mode provides a single-user environment with some system services started, while Emergency Mode provides the most minimal environment possible.