Resetting a forgotten WebDefend root password
This article applies to:
WAF/WebDefend 5.X and above.
Question:
I'm locked out of the root account. How do I reset it?
Procedure:
Note:
These procedures require physical access to the WebDefend appliance and will take the system offline for the duration of the procedure.
For 6.x
Reboot or power cycle the WebDefend appliance.
Note:
The device starts and gives the option "to enter bios press Delete". Do not press Delete at this point, but wait for a second screen to display and then quickly press
Delete
.
Press the
Delete
key repeatedly until you see the GNU Grub.
If connected directly to the physical console (VGA), enter
Single Mode
.
If connected through the serial port, enter
Single mode – Serial console
.
This should boot the system up in single user mode.
You can then change the password using the following command:
passwd
For bgse:
passwd bgse
Once you have successfully changed the password you can then reboot the appliance by issuing the following command:
reboot
For 5.X
Reboot or power cycle the WebDefend appliance.
Press the
Delete
key repeatedly until you see the BIOS password screen.
Press the
Escape
key and immediately start pressing the
Delete
key again repeatedly (NOTE: You have to do this fairly quickly)
At this point you should see the Grub screen.
Press
p
for password and enter the password and press enter. (Contact Trustwave TAC for the bios password.)
Select the second line:
ro root=/dev/md2 quiet console=ttyS1,9600n8
Press
e
for edit.
Modify the line to read
ro root=/dev/md2 single
Press enter, and then
b
for boot.
This should boot the system up in single user mode.
You can then change the password using the following command:
passwd
Once you have successfully changed the password you can then reboot the appliance by issuing the following command:
reboot
Last Modified 10/10/2016.
https://support.trustwave.com/kb/KnowledgebaseArticle19598.aspx