.

Linux unlock user


Reading time: less than 1 minute

Some Linux distros started shipping some brain-dead garbage that locks your user if you enter your sudo password wrong a few times. It doesn’t even give you any feedback, sudo just starts saying you’ve entered an incorrect password even if you type it correctly.

Fortunately, you can still become root using su. After that, just run the command faillock --reset and it should unlock your account.

Citation

If you find this work useful, please cite it as:
@article{yaltirakli,
  title   = "Linux unlock user",
  author  = "Yaltirakli, Gokberk",
  journal = "gkbrk.com",
  year    = "2025",
  url     = "https://www.gkbrk.com/linux-unlock-user"
}
Not using BibTeX? Click here for more citation styles.
IEEE Citation
Gokberk Yaltirakli, "Linux unlock user", January, 2025. [Online]. Available: https://www.gkbrk.com/linux-unlock-user. [Accessed Jan. 11, 2025].
APA Style
Yaltirakli, G. (2025, January 11). Linux unlock user. https://www.gkbrk.com/linux-unlock-user
Bluebook Style
Gokberk Yaltirakli, Linux unlock user, GKBRK.COM (Jan. 11, 2025), https://www.gkbrk.com/linux-unlock-user

Comments

© 2025 Gokberk Yaltirakli