Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-29-2008, 05:24 AM   #1
LQ Newbie
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
Question I have Forgotten my user password

While installing ubantu I do not remember the password I entered .Hence I am not able to reach my desktop
Old 06-29-2008, 06:28 AM   #2
Senior Member
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
The only thing you can do is change your password. Probably the easiest way to do this is to boot into single user mode. The last time I checked (edgy), Ubuntu provides an option in the GRUB menu for this called recovery mode. If you do not see the GRUB menu when you boot (and you probably don't), boot the computer and press the escape key immediately after the powerup tests are finished. Assuming you have not created a root password, this will boot you directly into single user mode where you will be given a command prompt. At this point you are running as root. Type passwd followed by the name of the user, press enter, and it will prompt you for the new password twice. You will not see anything as you type the password. After it tells you that you succeeded, press ctrl-D (which either reboots the computer or finishes booting into multi-user (normal) mode -- I forget which).

Last edited by blackhole54; 06-29-2008 at 06:41 AM. Reason: ommited word
Old 06-29-2008, 08:24 AM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
If all else fails, you can get into single-user mode by appending "single" to the kernel line in the GRUB menu. When the GRUB menu first appears, hit "esc" to stop the count, then "e" for edit.
Old 07-01-2008, 11:36 AM   #4
LQ Newbie
Registered: Jun 2008
Posts: 2

Original Poster
Rep: Reputation: 0
thanks friends It helped me a lot . I changed my password with the same procdure


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forgotten Password Love_0 SUSE / openSUSE 3 08-31-2007 08:46 AM
Forgotten user password Suse_Newbie69 SUSE / openSUSE 2 01-03-2007 07:12 PM
if the root password is forgotten..... AnimaSola Linux - Software 1 05-31-2005 10:12 PM
Root Password FORGOTTEN kajensen Linux - Newbie 4 08-11-2003 02:06 AM
forgotten password ronss Linux - Distributions 4 04-01-2003 09:02 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:56 PM.

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