1and1 Help Centre Categories

print article

Reset Root Password on 1&1 Cloud Server (CentOS 6)

For 1&1 Cloud Servers with CentOS 6

Learn how to reset your administrator password in order to gain access to your 1&1 Cloud Server.

Please note:
If you have not set your personal password, back when you set up your 1&1 Cloud Server, and if you have not changed the initial password, which has been generated automatically, you can have the initial password shown in your 1&1 Cloud Panel.
Step 1
Start the KVM console.
1&1 Cloud Panel
1&1 Cloud Panel
Step 2
Reboot your server via the 1&1 Cloud Panel and note the booting messages in the KVM console. 1&1 Cloud Panel
1&1 Cloud Panel
Step 3
In the GRUB menu, press e in order to edit the boot options. GRUB Menu
GRUB Menu
Step 4
Select the command with the kernel boot parameters and press e again. Overview of specific boot options in GRUB
Overview of specific boot options in GRUB
Step 5
Add the number 1 at the end of the line. Overview of specific boot options in GRUB
Overview of specific boot options in GRUB
Step 6
Press b in order to continue the booting process.
The server will now be booting into a root shell without requesting a password.
Step 7
As soon as the shell will have finished, you can change the password by entering passwd.
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Step 8
After you have changed the password, you have to reboot the server.
reboot
The server now boots into the normal system. Afterwards, you can log in with the new password.
For additional information, you may want to reference: