Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Services
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

HOWTO: Resetting a forgotten WebDefend root password

Expand / Collapse


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

  1. 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.
  2. 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.
  3. This should boot the system up in single user mode.
  4. You can then change the password using the following command:

    passwd

    For bgse:

    passwd bgse
     
  5. Once you have successfully changed the password you can then reboot the appliance by issuing the following command:

    reboot

For 5.X

  1. Reboot or power cycle the WebDefend appliance.
  2. Press the Delete key repeatedly until you see the BIOS password screen.
  3. Press the Escape key and immediately start pressing the Delete key again repeatedly (NOTE: You have to do this fairly quickly)
  4. At this point you should see the Grub screen.
  5. Press p for password and enter the password and press enter. (Contact Trustwave TAC for the bios password.)
  6. Select the second line:

    ro root=/dev/md2 quiet console=ttyS1,9600n8
     
  7. Press e for edit.
  8. Modify the line to read

    ro root=/dev/md2 single
     
  9. Press enter, and then b for boot.
  10. This should boot the system up in single user mode.
  11. You can then change the password using the following command:

    passwd
     
  12. Once you have successfully changed the password you can then reboot the appliance by issuing the following command:

    reboot

To contact Trustwave about this article or to request support:


Rate this Article:
     

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.