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:
-
Restart the CFA.
-
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.
-
Select the option that starts with
OS [version]
, and then press e to edit the commands executed before booting. -
Go to the end of the line that starts with
linux
, enterrd.break
, and then press Ctrl+X to start booting.The CFA boots into the shell.
-
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 (seero
in the command output), remount it in the read-write mode.For this, run the following command:
mount -o remount,rw /sysroot/
-
If
/sysroot
is mounted in the read-write mode (seerw
in the command output), continue with the next step.
-
-
Change the root directory.
For this, run the following command:
chroot /sysroot
-
Set the new password.
For this, run the following command, and follow the on-screen instructions to set the password:
passwd
-
Relabel the file system.
For this, run the following command:
touch ./autorelabel
-
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.
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:
-
Restart the CFA.
-
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.
-
Select the option that starts with
OS [version] (VGA)
, and then press e to edit the commands executed before booting. -
Select the line that starts with
kernel
, and then press e. -
Press Space, enter
1
, press Enter, and then press b to start the shell. -
Set the new password.
For this, run the following command, and follow the on-screen instructions to set the password:
passwd
-
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.