There are several options you can do to reset your root password in the case you lost it.
The following describes two possibilities with different requirements:
- You need a serial nullmodem cable and a workstation with serial interface and a terminal program
- You need video and keyboard attached to the firewall.
Each
Endian Firewall Appliance will have a serial interface (Console interface) but no Video and Keyboard connectors. If you have your own hardware you probably will have only Video and Keyboard but no Serial Interface.
Solution 1
Connect the serial nullmodem cable to the console port of your Endian Firewall and the other end to your workstations serial port (COM1).
Use a terminal program (
Minicom for Unices,
PuTTY for Windows) in order to connect to the Firewall. The necessary parameters are:
- 38400 baud
- 8 bit
- No parity bit
- 1 stop bit
After successful connect you should find a menu with 5 possibilities. One of them is "Change Root password".
Select that item and change your password.
Solution 2
- Connect the video and keyboard and reboot your Endian Firewall.
- During boot you will see a graphical menu on a grey background with title GNU GRUB. Press a cursor button in order to stop the countdown. Otherwise it will boot automatically.
- Select the first menu item and press 'a'.
- You should see:
grub append> root=/dev/hda3 panic=10 ro
Add 'single' separated with a space in order to finally have this line:
grub append> root=/dev/hda3 panic=10 ro single
- Press ENTER which starts the boot process
- After the boot process the commandline prompt on the bottom of the screen looks like this:
sh-3.00# _
- type
mount -o rw,remount /
- type passwd and confirm pressing ENTER
- follow the instructions
- If you need to change also the admin password, do the following:
htpasswd -m /var/efw/auth/users admin
and follow the instructions.
- sync
- reboot