Trustwave Rapid Response: CrowdStrike Falcon Outage Update. Learn More

Trustwave Rapid Response: CrowdStrike Falcon Outage Update. Learn More

Services
Capture
Managed Detection & Response

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

twi-managed-portal-color
Co-Managed SOC (SIEM)

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

twi-briefcase-color-svg
Advisory & Diagnostics

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

tw-laptop-data
Penetration Testing

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

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

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

tw-officer
Digital Forensics & Incident Response

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

tw-network
Firewall & Technology Management

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

Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Microsoft Exchange Server Attacks
Stay protected against emerging threats
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
.