2018-01-18, 22:06
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:
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!
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!