How have I reset my admin password on debian?
- Boot using debian netinst live USB, selecting “Rescue mode”.
- Select root partition when asked. /dev/sda6, for example. You should know this beforehand.
- Enter this command to set a new password: passwd username
- Reboot, login with new password.
- Enter this command to delete old keyring data: rm ~/.local/share/keyrings/login.keyring
Of course there are other ways to achieve this. I just wanted to share with you what I did.
Iโm a US-based software engineer with a background in law. I share mostly practical tech notes here for my future self and anyone who finds them useful.
One of the things Iโve built is Masterlist: Focus & Tasks, a privacy-focused, local-storage-only task manager that offers focus tracking tied to tasks and projects, compatible with the Pomodoro technique.