How do I reset a lost password (using recovery mode requires me to type the password)?
- by user16441
I need to reset my password. I have followed these steps:
How do I reset a lost Administrative(root) password?
However, then I go to "root" or "netroot" recovery options, it tells me:
Give root password for maintenance (or type Control-D to continue)
Clearly, I do not know the root password. If I type Control-D, I return to the list of options. From this page I read:
Under chapter 'The Other Way':
4. Highlight the line that begins kernel and press 'e' to edit
But in the grub configuration file I have no line that starts with 'kernel'. Only:
setparams 'Ubuntu...'
recordfail
set gxfpayload...
insmod part_msdos
insmod ext2
set root=...
search --no-floppy...
linux /boot/vmlinuz-2.6.38...
initrd /boot/initrd.img-2.6....
Those are all lines in my grub. Which line should I edit? Or is there another way to reset my password?