Forgot username?! solved

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
ashbekah

Forgot username?! solved

Post by ashbekah »

Hello all,

Sorry for the really stupid post. I recently got a new computer. It has linux mint. Anyway, when I first got it about a week ago, I set it up with only one account- mine- the admin account. So I am off of the computer for a week, and I go to log back in, and it says either wrong user name or wrong password. Eventually I reset my password via http://community.linuxmint.com/tutorial/view/339 .... So I know it isn't the password. I have tried everything for the username. I do not have an installation disk or anything to reinstall from. Any ideas how I could figure it out or reset it. If there's something I can go to in GRUB like how I reset the password, and you tell me the directions I could probably do it. Any help would be great!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Orbmiser

Re: Forgot username?!

Post by Orbmiser »

Boot from live session CD, Double click Home folder. find installed partition HD on left pane double click to mount and open. Double click home folder and see the username there.
.
ashbekah

Re: Forgot username?!

Post by ashbekah »

I don't have the CD. I bought it as is from a store. Is there a way to see it in recovery or boot mode?
nanowire

Re: Forgot username?!

Post by nanowire »

[quote="ashbekah"]Eventually I reset my password via http://community.linuxmint.com/tutorial/view/339 .... So I know it isn't the password. [quote]

First question, how did you reset the password for a user account if you don't know the name of said user account?

Nevertheless, when you are in the password-less root shell where you used the passwd command, I'm assuming you have full command access. Can you not just navigate to your home directory, 'cd /home/' and then see what users have home directories via 'ls'? Just a thought.
rounder98

Re: Forgot username?!

Post by rounder98 »

@Orbmiser So simple! Thanks much. Username recovered! :D
ashbekah

Re: Forgot username?! solved

Post by ashbekah »

I ended up adding another user when I booted up and just ended up using that username instead. Sure not entirely sure how I managed to forget my original username.
Locked

Return to “Beginner Questions”