For Cloud Servers and Virtual Server Clouds with CentOS 6
Learn how to reset your administrator password in order to regain access to your 1&1 Cloud Server or Virtual Server Cloud.
If you did not set your own password when creating the server and you have not subsequently changed the automatically assigned initial password, you can display the initial password in the Cloud Panel at any time.
Launch the KVM console.
Restart the server using this Cloud Panel and track the boot messages in the KVM console.
From the GRUB start menu, press e to edit the boot options.
Select the entry with the kernel parameters and press e again. An editor will open.
Add the number 1 to the end of the line:
BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ESC at any time cancels. ENTER at any time accepts your changes.]
quiet rd_NO_DM_rhgb quiet 1
Press b to continue the boot process. The server will now boot into a root shell without prompting for a password.
Once the shell is ready, you can change the password with passwd:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
After changing the password you have to restart the server: reboot
The server will now reboot normally. You can then log in with the new password.