Den här artikeln finns även på Svenska
If you for example have set a new password using the
passwd command via SSH on a server in the DIY service, you will no longer be able to see the correct password via the control panel. Thusly, if you would lose the new password you might get locked out from the server.
$ ssh firstname.lastname@example.org email@example.com's password: Permission denied, please try again. firstname.lastname@example.org's password: Permission denied, please try again. email@example.com's password: Permission denied, please try again. firstname.lastname@example.org's password:
If this should happen, you can always set a new admin password via the control panel, and this guide will show you how.
- Begin by logging on to the DIY control panel.
- After logging in, click
Appliancesin the menu to the left.
- Click on the name of the server you wish to set a new admin password for (under
- After accessing the settings page for the server, click the green
Toolsbutton towards the top right.
- In the popup menu, click
Reset Root Password.
- You’ll now get to make some choices for the new password.
Set password: Here you select if you want a randomised password or set one yourself.
If you want to set your own password, two new fields appear:
Password: Enter your preferred password here.
Password confirmation: Enter the password once more for confirmation.
Encrypt password: You can opt in to encrypt your password, which otherwise will be readable via the control panel. If you enable this, you must enter a passphrase to see the password.
If you select password encryption, you get two additional fields:
Encryption passphrase: Here you enter the passphrase for unlocking the admin password display. If you forget this passphrase you will be unable to see the password for your server.
Encryption passphrase confirmation: Enter the same passphrase as above again.
- When you’re done, click the blue button. The text on the button will vary based on your selections but will be labelled with one of the variants below.
When you click the button, the server will reboot and once it’s done you should be able to access the server with the new password.