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?
4 Answers
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.
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.
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!
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!

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures