UbuntuThis 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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.