Braindead - lost userid/password - 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
lagagnon

Re: Braindead - lost userid/password

Post by lagagnon »

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
slider
Level 5
Level 5
Posts: 579
Joined: Wed May 07, 2008 2:08 pm
Location: Sliding around somewhere!

Re: Braindead - lost userid/password

Post by slider »

To find out your user name open a terminal and type:

Code: Select all

whoami
It will give you your username.

Edit:

Try this command if you cant use the other:

Code: Select all

awk -F":" '{ print "username: " $1 "\t\tuid:" $3 }' /etc/passwd
Your user name should be somewhere in the list that is displayed in the output.

tgc
Locked

Return to “Beginner Questions”