Hi all,
Have fired up my old Odroid-u2. It appears to be running Lubuntu 14
I am trying to update the software on user odroid@odriod but it is not accepting odroid as the password.
Is there any way I can change the admin password so I can update this device?
Cheers
Martin
Can't Login - Can I reset admin password?
- mad_ady
- Posts: 11737
- Joined: Wed Jul 15, 2015 5:00 pm
- languages_spoken: english
- ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, N2L, H2, H3+, Go, Go Advance, M1, M1S
- Location: Bucharest, Romania
- Has thanked: 655 times
- Been thanked: 1193 times
- Contact:
Re: Can't Login - Can I reset admin password?
Yes, but you'll need access to a linux system. Take out your sd/emmc. Put it in a reader and connect it to the working system. Mout the rootfs (second partition). Make a backup of etc/shadow. Open it with an editor as root and replace the root hash with a hash known to work (e.g. from the host system).
Unmount, replug jnto your odroid, reboot and it should work.
Unmount, replug jnto your odroid, reboot and it should work.
- meveric
- Posts: 12124
- Joined: Mon Feb 25, 2013 2:41 pm
- languages_spoken: german, english
- ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
- Has thanked: 92 times
- Been thanked: 674 times
- Contact:
Re: Can't Login - Can I reset admin password?
or you could use a chroot inside the sd/eMMC from the other linux system and do a passwd to set a new passwordmad_ady wrote: ↑Sat Dec 04, 2021 6:18 pmYes, but you'll need access to a linux system. Take out your sd/emmc. Put it in a reader and connect it to the working system. Mout the rootfs (second partition). Make a backup of etc/shadow. Open it with an editor as root and replace the root hash with a hash known to work (e.g. from the host system).
Unmount, replug jnto your odroid, reboot and it should work.

Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
- mad_ady
- Posts: 11737
- Joined: Wed Jul 15, 2015 5:00 pm
- languages_spoken: english
- ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, N2L, H2, H3+, Go, Go Advance, M1, M1S
- Location: Bucharest, Romania
- Has thanked: 655 times
- Been thanked: 1193 times
- Contact:
Re: Can't Login - Can I reset admin password?
You'd need to install qemu if it's not the same architecture.
Who is online
Users browsing this forum: No registered users and 1 guest