Pages

Wednesday, June 30, 2010

B.2. Loss of the Root Password

If you interrupt the installation or loose your root password, you can recover by booting IPCop in “single user” mode. To do this, attach a monitor and keyboard to your IPCop machine and reboot. During reboot, while the GRUB splash screen is displayed, press the a key. A long command line will appear with the cursor situated at the end. Press the space bar and type the word:

single
then press the Enter key. IPCop will boot and you will be placed at the command prompt, logged in as the root user. Enter:

sh-2.05b# passwd
You will be prompted to enter the root password, twice. Next reboot your machine by entering: sh-2.05b# /usr/local/bin/ipcopreboot boot