forgot root password but you was lucky enough to put your self in sudo? then its easy.
then type passwd. it will not ask you for your current password at all.Code:sudo su
enjoy
Printable View
forgot root password but you was lucky enough to put your self in sudo? then its easy.
then type passwd. it will not ask you for your current password at all.Code:sudo su
enjoy
if you were not "lucky"
boot your live CD
mount drive partition (hda?)where knoppix is installed. Make writeable.
replace ? with partition number
Open a shell
become root by su
chroot /mnt/hda? passwd
johnb
to make it a million times easier, couldnt you just type "KNOPPIX 1" at the boot prompt, to get into single user mode and then just change the password with the password command? doh!