1and1 Help Centre Categories

print article

Reset Root Password on 1&1 Cloud Server (Ubuntu)

For 1&1 Cloud Servers with Ubuntu Linux LTS 14:04

Learn how to reset your administrator password 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 GRUB2 menu, press e in order to edit the boot options.
Step 4
At the end of the line starting with linux, add the following command: init=/bin/bash GRUB2 menu
GRUB2 menu
Step 5
Press F10 in order to continue the booting process.
The server will now be booting into a root shell without requesting a password. GRUB2 menu
GRUB2 menu
Step 6
As soon as the shell will have finished, you have to attach the system partition with read/write access:
mount -o remount,rw /
Step 7
Now you can change the password with passwd change:
passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Step 8
At the end you still need to restart the server:
reboot -f

The server boots up again in the normal system. You can then log in using the new password.

For additional information, you may want to reference: