Password reset or recovery - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: Password reset or recovery (/showthread.php?tid=19506) |
Password reset or recovery - tessa - 11-10-2024 Hi. I set aside my Pinebook Pro (with the default Manjaro) for a year while I was working on other things, and in the meantime I forgot my password. I don't have it set to require a password on boot, so I can get into the computer. But I can't perform any sudo commands or run the updater. How can I get this to work? Thanks, Tessa RE: Password reset or recovery - wdt - 11-11-2024 Can you boot from uSD? If so, mount emmc, (lsblk to get right device node), go to /mount-point/etc, edit shadow (you will need to be root, on uSD boot) each line is an entry, fields are separated by ":" the 2nd field is hashed password, about 60+ chars so, for root what you want (for no password) root:: .....and so on IOW, make the 2nd field empty RE: Password reset or recovery - tessa - 11-11-2024 (11-11-2024, 09:14 AM)wdt Wrote: Can you boot from uSD? Thanks! I'll get a uSD and give it a try. |