Reset root password error on Solusvm
Issue: When we tried to reset root password using Solusvm, somehow the password still incorrect. Even we already ensure the password corrrect, but still can’t login. Below the steps to reset root password on Linux.
1. Reboot server
2. On the Grub menu, choose the newest kernel and click ‘e’ to edit
3. Find “linux16……” line and Change ro to rw init=/sysroot/bin/sh
4. After that press Ctrl+X to start. Server will be booted into Single User Mode.
5. Type this command:
# chroot /sysroot
6. After that, we start to reset password
# passwd root
[Enter new root password]
[Re-Enter new root password]
# touch /.autorelabel
# exit
7. Then reboot server
# reboot
Once server booted and ready. Please try again to SSH using the new password
