Views: 517

To reset the root password in SPS 3.3:

  1. Restart the server.
  2. Interrupt the boot process by pressing the Space Bar when the Grub menu appears.
  3. Press E to edit the selected item (i.e. Trend Micro Smart Protection Server (3.10.0-693.2.2.e17.x86_64) 3’.
  4. Scroll down and delete the line "r\o crashkernel=auto rd.lvm. lv=sps/root rd.lvm.lv=sps/swap rhgb quiet."

    Crashkernel

  5. 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.

    Svsroot

  6. Press Ctrl + X to start.
  7. Access the system with the command: "chroot /sysroot" and then press Enter.
  8. Type "passwd" and create a new password for your root account.
  9. 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.
     
  10. Reboot the Server.
Comments (0)