SmoothWall – Password reset
Since I was a complete zoomtard, I forgot all the passwords on both my Linksys wireless access point and SmoothWall firewall. After a brief brainstorming session, I was unable to break into my own hardware. So, I went on a search for resetting the password of the SmoothWall. Nothing was in the documentation, the LILO bootloader had single user mode disabled and all the suggestions from IRC pointed me in the direction of a reinstall.
That was unacceptable since I had a bunch of custom changes done to the system for my corporate VPN so I pulled an old RedHat installation CD out of the binder and booted in rescue mode. Once at a shell prompt, I mounted the main partition:
sh# mount /dev/hda4 /mnt/sysimage
Next, I chrooted to the mounted filesystem and ran passwd:
sh# chroot /mnt/sysimage bash bash# passwd root Changing password for user root New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully
Now, exit out of the chrooted shell and reboot!
bash# exit sh# shutdown -r now
Resetting the password for the other accounts is a simple matter of logging in as root once the SonicWall comes back online and running setup
.