| Ubuntu This forum is for the discussion of Ubuntu Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-26-2007, 11:47 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2007
Posts: 5
Rep:
|
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.

|
|
|
|
01-27-2007, 12:05 AM
|
#2
|
|
Member
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 426
Rep:
|
Can you log in as root?
Last edited by adityavpratap; 01-27-2007 at 12:08 AM.
|
|
|
|
01-27-2007, 12:06 AM
|
#3
|
|
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
|
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
|
|
|
|
01-27-2007, 12:12 AM
|
#4
|
|
LQ Newbie
Registered: Jan 2007
Posts: 5
Original Poster
Rep:
|
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.

|
|
|
|
01-27-2007, 12:25 PM
|
#5
|
|
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:
|
useradd -m newusername -p yournewpassword
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:51 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|