Recovering the Web Interface Administration Password
To change the admin password, you will need to log on to the Smoothwall Appliance as the root
superuser in an SSH session:
- Connect to your Smoothwall via a console using the SSH protocol on port 222 (typically, via an application such as Putty).
- Log in as the
root
user. - From the command line, type
setup
and press ENTER. - Press ENTER on Change admin password.
- Enter the new credentials and press OK.
Note: Although there is an option in the setup menu to change this root password, you cannot rec
Resetting root password on a Smoothwall Appliance
If the original root
password cannot be found, you will have to create a new one. To do this, the Smoothwall will need to be rebooted into single user mode as the root
password cannot be set in the user interface.
- Ensure you have a keyboard and monitor (or console cable session) connected to the Smoothwall.
- Reboot the box and press ESC until the GRUB boot loader appears. Note that if you are using your own hardware, it may be the DEL key to enter the GRUB menu
- You will see 2 options:
SmoothWall-smp
SmoothWall-up
- Highlight
Smoothwall-smp
and press e to edit.
You will be taken to an output box withsetparams 'SmoothWall-smp'
. - Look for the line containing the UUID. It will look something like this:
- Use the arrow keys to navigate between the two single quote marks at the end and type the word
single
onto the end of the line:legacy_kernel 'boot/vmlinuz-#.#.##-#-smp' '/boot/vmlinuz-#.#.##-#-smp' 'root=UUID=RANDOMNUMBERSTRING' 'single'
- Press CTRL-X or F10 to continue booting
- The box will appear to boot as normal, but when the boot is completed, instead of seeing:
Login:
you will see:bash-4.2# _
- Type
setup
and press ENTER. This will take you into the setup menu where you can reset theroot
password. - When you have reset the
root
password, reboot the box using the following command:shutdown -r now
This issues a shutdown and reboot command with the time parameter set as immediate. Please then test theroot
password.