How to Reset the Root Password on a Netmon

Reboot The System

Reboot the system. Press and hold the power button or hit ctrl+alt+delete.

Interrupt GRUB

As soon as the system starts booting, immediately press and hold the SHIFT key to bring up the GRUB menu.

Edit GRUB

Use the arrow keys to highlight Debian GNU/Linux and press ‘e‘ to enter the boot editor.

Modify the Boot Parameters

Find the line that starts with linux and ends with ro quiet. Remove quiet and replace it with init=/bin/bash.
This starts the system with the bash shell.

Boot into Single-User Mode

Press Ctrl + X or F10 to boot with the modified parameters

Remount the Root File-system in Read-Write Mode

At the shell prompt, scan the file system and then remount the root file-system as read-write:

fsck -f /

mount -o remount,rw /

Reset the Root Password

Change the root password using the passwd command:

passwd

Enter and confirm the new password for the root user.

Sync the File-system

Sync the file-system to ensure all the changes are written to disk:

sync

Reboot the System

shutdown -r now