Reset password on the Cloud Failover Appliance

On this page

If you lost or forgot the password to log in to the CFA Management Console, you can reset it. For this, you must have access to the CFA terminal.

8.7.0 and later

To change or reset the password on the CFA with firmware version 8.7.0 and later:

  1. Restart the CFA.

  2. Wait for the CFA to show the boot loader, and then press any key (except Enter and Return) to interrupt booting.

    You have 5 seconds to interrupt before the CFA continues booting. Otherwise, you will have to restart the CFA again.

  3. Select the option that starts with OS [version], and then press e to edit the commands executed before booting.

    Select boot option

  4. Go to the end of the line that starts with linux, enter rd.break, and then press Ctrl+X to start booting.

    Interrupt booting

    The CFA boots into the shell.

  5. Check the access mode on the /sysroot mount point.

    For this, run the following command:

    mount | grep sysroot
    
    • If /sysroot is mounted in the read-only mode (see ro in the command output), remount it in the read-write mode.

      Read-only mount point

      For this, run the following command:

      mount -o remount,rw /sysroot/
      

      Remount mount point

    • If /sysroot is mounted in the read-write mode (see rw in the command output), continue with the next step.

      Read-write mount point

  6. Change the root directory.

    For this, run the following command:

    chroot /sysroot
    

    Change working root directory

  7. Set the new password.

    For this, run the following command, and follow the on-screen instructions to set the password:

    passwd
    

    Reset password

  8. Relabel the file system.

    For this, run the following command:

    touch ./autorelabel
    

    Relabel file system

  9. Change the root directory, and then log out to continue with the normal boot.

    For this, run the following commands:

    exit
    logout
    

    Wait until the file system relabeling completes. This might take some time depending on the system performance and the number of files.

    Back to normal boot

The CFA boots normally, and you can log in to the Management Console with the newly set password.

8.6.x and earlier

To change or reset the password on the CFA with firmware version 8.6.1 and earlier:

  1. Restart the CFA.

  2. Wait for the CFA to show the boot loader, and then press any key (except Enter and Return) to interrupt booting.

    You have 3 seconds to interrupt before the CFA continues booting. Otherwise, you will have to restart the CFA again.

  3. Select the option that starts with OS [version] (VGA), and then press e to edit the commands executed before booting.

    Select boot option

  4. Select the line that starts with kernel, and then press e.

    Select kernel

  5. Press Space, enter 1, press Enter, and then press b to start the shell.

  6. Set the new password.

    For this, run the following command, and follow the on-screen instructions to set the password:

    passwd
    

    Reset password

  7. Restart the CFA.

    For this, run the following command:

    reboot
    

The CFA restarts, and you can log in to the Management Console with the newly set password.