Solved Reset forgotten password on Kodibuntu
#1
Some time ago I installed a machine for my parent with kodibuntu (lubuntu v14.04) and I have forgotten the password for the accounts on it.

How can I reset the password for the root account, or any account? The Grub has no other options than 'start kodibuntu' as I had to change it to get kodibuntu working in the first place.
I tried booting from an Ubuntu live CD, and then using chroot, but that gives the following:
Code:
$ sudo chroot /media/sda3
bash: groups: command not found
root@ubuntu:/# sudo passwd root
bash: sudo: command not found

When I go to the /usr folder in the mounted boot /dev/sda3, it is completely empty. This explains why passwd isn't working, but I'm at a loss how to reset the password now or how to get any command working after chroot.

Any help/advise would be much appreciated!
Reply
#2
In true self-help fashion, I figured it out minutes after making this post.

Turns out that the /usr directory was on /dev/sda5 (no idea why). Mounting it to /media/sda3/usr worked and allowed me to reset the password using the passwd command.

Thanks for being my rubber ducky!
Reply
#3
Thread marked solved.
Reply
#4
(2018-01-18, 22:32)SomePurple Wrote: Thanks for being my rubber ducky!

I've experienced this many a time, but never knew there was a term for this. TIL
Reply

Logout Mark Read Team Forum Stats Members Help
Reset forgotten password on Kodibuntu0