Skip to main content
Change and recover cloud server password
Last update:

Change and recover cloud server password

You can view the password for the root user in control panel under Cloud PlatformServers → Server page → Conssole tab → Password field.

If you forget or lose your password, you can change it in the control panel.

If authorization with a new password does not work or you have trouble changing it, recover password via Rescue recovery and diagnostic mode.

Change password

  1. In Control Panel, go to Cloud PlatformServers.
  2. Open the server page → Console tab.
  3. Click Generate New.

Error when changing password

If Unable to set password on instance error occurs during password generation, perform a soft reboot of the cloud server.

The error may occur due to small server disk capacity. The disk memory is occupied by the log log, due to which the required operations to change the password are unavailable. When the server is rebooted, some of the logs are deleted and there is space on the disk.

Restore password

  1. Boot the server into Recovery and Diagnostic Rescue mode.

  2. Change the root directory of the OS:

    infiltrate-root
  3. Change the password for the root user:

    passwd root
  4. Re-enter the password.

  5. Wait for a response that the password has been changed:

    passwd: password updated successfully
  6. Exit Rescue Mode. The server will automatically reboot.

Error when changing the catalog

If No root-device specified error occurs while changing the root directory, mount the disk partitions.

  1. Boot the server into Recovery and Diagnostic Rescue mode.

  2. Look at the disk file system and copy the partition IDs:

    fdisk -l
  3. Mount all disk partitions:

    infiltrate-root <block_uuid_1>
    infiltrate-root <block_uuid_2>

    Specify <block_uuid_1> and <block_uuid_1> as the IDs of the disk partitions you copied in step 2.

  4. Exit Rescue Mode. The server will automatically reboot.