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

0
38
Asked By CuriousFox99 On

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

Answered By TechGuru818 On

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.

Answered By TechWiz4All On

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.

Answered By OpenSourceGuy On

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!

Answered By ResolvedUser25 On

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.