Password recovery

If you lose your password, you can recover it in several ways, depending on which password was lost - from the server operating system (Linux) or from the administrator’s web console.

Linux password

There are two ways to recover your operating system password:

  • using a boot disk;

  • via BIOS.

First way

Boot from the installation image that you used to initially install the system and select “restore system.”

Illustration 1 — Password recovery

Follow the installer’s instructions until you get to the console. In the console, run the command

sudo passwd user_name

and set a new password.

The username can be found using the command

cat /etc/passwd

The result of the command will be something like this:

Illustration 2 — Password recovery

Your user has an id of 1000 or more and is located at the very bottom.

Second way

To get into the BIOS of the system or virtual machine, press Shift immediately after booting. In the window that opens, select “Recovery Mode” and wait until the options menu appears:

Illustration 3 — Password recovery

Select “root”:

Illustration 4 — Password recovery

From the root console, do the following:

  1. Mount the file system in write mode.

mount -o remount,rw /
  1. Change the password for user support.

passwd support
  1. Reboot your machine.

reboot

Recovering your web interface password

To recover or change the password for the web interface, enter the command in the console

sudo ibatyr passwd NEWPASSWORD

where NEWPASSWORD is the new password for the web console superuser admin.