How do I reset my Smoothwall password?

Article #:

Product:

Version:

1667

All

All

Summary:

How to reset the different types of passwords on your Smoothwall./

Solution:

Recovering the Web Interface admin password:

To change the admin password, you will need to log on to the Smoothwall as the root superuser in an SSH session:

1. Connect to your Smoothwall via a console using the SSH protocol on port 222 (typically, via an application such as Putty).
2. Log in as the root user.
3. From the command line, type setup and press ENTER.
4. Press ENTER on Change admin password.
5. 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

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.

1. Ensure you have a keyboard and monitor (or console cable session) connected to the Smoothwall.
2. 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
3. You will see 2 options:

SmoothWall-smp

SmoothWall-up

4. Highlight Smoothwall-smp and press e to edit.

You will be taken to an output box with setparams 'SmoothWall-smp'.

5. Look for the line containing the UUID. It will look something like this:

6. 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'

7. Press CTRL-X or F10 to continue booting
8. The box will appear to boot as normal, but when the boot is completed, instead of seeing:

Login:

you will see:

bash-4.2# _

9. Type setup and press ENTER. This will take you into the setup menu where you can reset the root password.
10. 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 the root password.

Attribution:

Last updated:

Author:

Contributions by:

17th November 2016

 

TE

 

Copyright © 2000-2016 Smoothwall All rights reserved.