To reset the root password in SPS 3.3:
- Restart the server.
- Interrupt the boot process by pressing the Space Bar when the Grub menu appears.
- Press E to edit the selected item (i.e. Trend Micro Smart Protection Server (3.10.0-693.2.2.e17.x86_64) 3’.
- Scroll down and delete the line "r\o crashkernel=auto rd.lvm. lv=sps/root rd.lvm.lv=sps/swap rhgb quiet."
- Delete “rhgb quiet” and type in “rw init=/sysroot/bin/sh”. The key to this step is to not remove the LVM/DISK LABELS or the boot will fail.
- Press Ctrl + X to start.
- Access the system with the command: "chroot /sysroot" and then press Enter.
- Type "passwd" and create a new password for your root account.
- Execute “exit” to terminate chroot state which started in step 7 or the reboot commands will not work.
Both “init 6” or “reboot” commands work after “exit”, but “shutdown –r now” will not work in this mode.
- Reboot the Server.