Finding your username.

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Finding your username.

Postby nimmy on Fri Jan 18, 2013 12:48 am

Hello

i am totally new to Mint and i installed it. It asked for the password, I used a simple one that I can easy rememember, likewise the password.

This is the problem, after all the install was done, I went to log in and it wouldn't recognise the username. I tried the usual, caps on off and all the rest, nothing.

Is there anyway of finding out what the username is without logging in?

thanks.
nimmy
Level 1
Level 1
 
Posts: 4
Joined: Thu Jan 17, 2013 11:53 pm

Linux Mint is funded by ads and donations.
 

Re: Finding your username.

Postby jungle_boy on Fri Jan 18, 2013 7:02 am

Reinstall it and save the name and password. Is faster.
LM16 Cinnamon (PC); LM14 Cinnamon with AMD Catalyst (notebook)
HP Pavilion g4-1316br, AMD Quad Core, 1,5 GHz, Radeon 6520G/7450M,
Image
Linuxcounter Registered User #506065 (2008)
User avatar
jungle_boy
Level 6
Level 6
 
Posts: 1171
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rain Forest, Brazil

Re: Finding your username.

Postby nimmy on Fri Jan 18, 2013 7:52 am

Thanks for the reply.

I know the username, it's the most simple one I use, infact, it's the same as my display name here.

I am curious now to know exactly what went wrong and see what the user ended up being (maybe i miss hit a key). I know it's not the password, again that was a simple to rememebmr one and I even double check using the method below:

viewtopic.php?f=90&t=110928&p=621487#p621487

which work just fine, don't seem to be able to find somehting similar for username.

I installed it on an old laptop for the purposes of exploring it, so security was not uppermost in my mind, simple user, simple password.

Maybe a reinstall is the only way.

Cheers.
nimmy
Level 1
Level 1
 
Posts: 4
Joined: Thu Jan 17, 2013 11:53 pm

Re: Finding your username.

Postby altair4 on Fri Jan 18, 2013 9:07 am

Boot into the install DVD - not to reinstall but just to get into a live session.
Mount the partition that your real install lives in
Go to /etc/passwd ( note the spelling of passwd )

In there are all the users on your installed system ( you may not have realized that some of these are users but ... ). The one you created during your install should be in there somewhere.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5515
Joined: Tue Feb 03, 2009 10:27 am

Re: Finding your username.

Postby nimmy on Fri Jan 18, 2013 10:40 am

Thanks for that, altair4, unfortunatley it won't let me boot from the dvd, even if I change the boot order in the bios. SO I can't do your method not reinstall. I'll probaly have to go into windows, delete the partition and recreate it.

thanks, any way.
nimmy
Level 1
Level 1
 
Posts: 4
Joined: Thu Jan 17, 2013 11:53 pm

Re: Finding your username.

Postby nimmy on Fri Jan 18, 2013 11:48 am

So i found the command, it's merely whoami, this gives the currenty user.

So I need to mount the partition how is this done?

I used the command $ mount /dev sada6, and it merely stated only root can do that.

Thanks.
nimmy
Level 1
Level 1
 
Posts: 4
Joined: Thu Jan 17, 2013 11:53 pm


Return to Installation & Boot

Who is online

Users browsing this forum: iamcreasy and 15 guests