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.
Software developer. Defender of Kaer Morhen. Based in the U.S.