If you have forgotten the root password it is possible to set a new one by interrupting the boot process at the GRUB stage and forcing the system into run level 1 (single user mode).
Launch the KVM interface for your server to access it from the console.
Interrupt GRUB by typing a character such as “space”
Append to the kernel line by typing “a”, backspacing through “rhgb quiet” and appending “1” and pressing <enter>.
This will give you a root shell and not a login prompt. From there you can use the “passwd” command to set a new root password.
Restart the server and allow it to boot normally.
Views:
34
Recent Articles
How to Install JAX with ROCm Acceleratio...
847
Deploy a PyTorch Workspace on a Vultr Cl...
506
Managing Backup Storage
542
Automating FTP Backups in Windows Server
515
Automating FTP Backups in Linux
494
Popular Articles
Our General Terms & Conditions
13613
Our Privacy Policy
12990
Our Cookies Policy
1487
How to Install JAX with ROCm Acceleratio...
847
Our Terms of Use
838
Register
Due technical issue
Login
Due technical issue
Forgot Password?
We Care about your privacy
Your experience on this site will be improved by allowing cookies.