I didn't need my root password for a long time now.
But now I need it again but I forgot it.
Can somebody help me please?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Lost root password
This is how to do it:
Boot from the Debian CD, and after the install starts, press ALT+F2 (to switch to that console), and press enter. You'll get a shell.
Mount your root partition to /mnt.
Edit /mnt/etc/shadow. The first line looks like this:
root:$1$A(...garbage...)J3/:12324:0:99999:7:::
Remove all the characters between the first and the second colon. You have to end up with this line:
root::12324:0:99999:7:::
If you're done, unmount the root partition from the /mnt directory, and reboot your computer. The root will have no password.
Boot from the Debian CD, and after the install starts, press ALT+F2 (to switch to that console), and press enter. You'll get a shell.
Mount your root partition to /mnt.
Edit /mnt/etc/shadow. The first line looks like this:
root:$1$A(...garbage...)J3/:12324:0:99999:7:::
Remove all the characters between the first and the second colon. You have to end up with this line:
root::12324:0:99999:7:::
If you're done, unmount the root partition from the /mnt directory, and reboot your computer. The root will have no password.