How can I recover my username for desktop login on Linux Mint?

October 24, 2025 4 answers
Asked by CuriousFox99
I've enabled the hidden username feature on my Linux Mint login screen, but now I'm having trouble remembering what my username was. I've tried a few times to enter it, but I'm getting an error saying it's incorrect. I need help figuring out how to recover my username so I can make it visible again and enter my password. Also, what would be the steps to reset my username and password if necessary?

Answers

ResolvedUser25
I actually figured it out! I used `ls /home` in the terminal, and my username popped right up. Luckily, my password was the same, so I got back in!
Reply to this answer
OpenSourceGuy
When booting up, hold the key for older BIOS systems or press repeatedly for UEFI until you access the grub menu. If youโ€™re dropped to a command line, type "normal". Look for a section like "advanced boot" and select the option to get a root shell without needing a password. From there, you can get a list of all user accounts by typing `cat /etc/passwd`. Remember, usernames are case-sensitive!
Reply to this answer
TechWiz4All
You can find your username by logging into any account and checking the `/etc/passwd` file. If you can't log in, use a USB live distro to access your system partition and look for that file. To change the password, you'll need access to the root account and can use the `passwd ` command.
Reply to this answer
TechGuru818
Just a heads up, recovery instructions vary; there arenโ€™t prompts but commands to follow. If you want to know your username without changing it, check the home directories via a live instance, or consult the `/etc/passwd` file as mentioned.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions