How to reset Root Password on Ubuntu/Debian
Today we want to talk about resetting the root Password on Ubuntu/Debian Linux
The first Step is to Boot up your system and pause at the Grub Bootloader.
Select the recovery mode (the second one) and press e for editing the boot commands.
at the and of initrd=/install/initrd.gz add init=/bin/bash
After that type str+x to restart the machine
now type fdisk -l to see the available disks at your machine, to mount the sda1 partition with the following command
mount -o remount,rw /dev/sda1 once you are done type
passwd and enter your new root Password.
thats it
reboot your machine with reboot -f and you are done!
best regards IT-Securityguard Team