The system starts abnormally, one of the software is stuck and cannot be started (press the FX key to see which software is stuck) and you need to manage the system in single-user mode or Repair mode.
There is a precondition for using single-user mode, as long as the system boot (GRUB) works properly, or the repair mode will be used for system maintenance. Enter single user mode, no network service is enabled, remote connection is not supported
1.Linux boot, press the E on the keyboard to enter the Grub menu interface.
2. When the Grub boot screen appears (CentOS (2.6.18-274**)), press the letter E key to enter the grub edit state.
3. Move the cursor to the kernel ... That line, and then typing "e" into the command line editor,
Add a space at the end of the kernel line single, enter
Type "B" to start the system, i.e. enter single-user mode,
4. This time you can use the passwd command to change the password. Uninstall the card dead software.
centos6.5 Single-user mode rescue system