PDA

View Full Version : Forgot Root Password on HD install version 3.0 Debian



MRNOCHE
06-15-2005, 06:12 AM
How can onejavascript:emoticon(':?:')
Question: How do you get to the root shell command window on a HD BOOT install of Debain/Knoppix 3.0 to reset password? I had to install another OS
and havent use this version in quite a while.

Markus
06-15-2005, 09:19 PM
What bootloader do you use?
If lilo, highlight kernel, type 1 or single, hit enter and you boot to single user mode and can set the password with passwd.
If grub, highlight kernel, hit e, type single, hit enter and do passwd.

By booting knoppix you can do:
sudo su
mount /mnt/hdXN
chroot /mnt/hdXN
passwd
Ctrl-d

MRNOCHE
06-15-2005, 11:56 PM
Thanks to Marcus,

My fixed was to boot from Knoppix

and issues these commands from the ROOT SHELL window:

sudo su
mount /mnt/hdXN
chroot /mnt/hdXN
passwd
Ctrl-d

Thanks Again!