LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 01-26-2007, 11:47 PM   #1
geekusa
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Rep: Reputation: 0
Oh noes! Lost my username and password


This is just stupid of me. I have lost my password and username, I just don't remember them. Is there a way to retrieve them. I don't remember being prompted for either of the two. Can some one please help this dumb ass noob. Thank you.

 
Old 01-27-2007, 12:05 AM   #2
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Rep: Reputation: 32
Can you log in as root?

Last edited by adityavpratap; 01-27-2007 at 12:08 AM.
 
Old 01-27-2007, 12:06 AM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
If you select "Ubuntu Recovery Mode" in the bootup menu, it will boot you to a terminal with root access without prompting for a password.

Then use the command "passwd userName" to set a new password for yourself. Obviously, userName is your username.

If you have forgotten your username as well, then "ls /home" from the terminal will tell you the user directories on your system, which will job your memory. Alternatively "tail /etc/passwd" should help.

I hope this helps
--Ian
 
Old 01-27-2007, 12:12 AM   #4
geekusa
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by IBall
If you select "Ubuntu Recovery Mode" in the bootup menu, it will boot you to a terminal with root access without prompting for a password.

Then use the command "passwd userName" to set a new password for yourself. Obviously, userName is your username.

If you have forgotten your username as well, then "ls /home" from the terminal will tell you the user directories on your system, which will job your memory. Alternatively "tail /etc/passwd" should help.

I hope this helps
--Ian
Guys, thanx for the help. I found out that my username is actually OEM or oem. WTF is that? Anyway. I know my root password so. I got to log in. It says that I am a temporary user. How do I go about creating my own userName?
Once again, Thanks for your help.
 
Old 01-27-2007, 12:25 PM   #5
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
useradd -m newusername -p yournewpassword
 
  


Reply

Tags
lost, password, ubuntu, username


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LOST username and password gloveny Linux - Security 8 09-01-2006 12:25 PM
I lost my username sublyme718 Linux - Security 2 04-11-2006 08:13 AM
Lost username/passwd (Slackware 10.2) PastorFrederick Linux - Newbie 5 12-23-2005 09:15 AM
How to recover a lost username / password for Solaris 7 at gui login screen noitwhiz Solaris / OpenSolaris 2 09-29-2004 12:32 PM
Lost username AND password HuggyBear Linux - General 5 08-18-2003 09:20 AM


All times are GMT -5. The time now is 01:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration