Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 06-29-2006, 01:09 AM   #1
LQ Newbie
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
Ubuntu Username and Password

I know this is stupid but I just loaded Ubuntu and the keyboard must have been stuck (it has happened before)when I first set it up. At the username and password, it will not take what I thought was the correct Username and password (I did write it down). Is there a way to boot up and view the current username and password? I am brand new to Linux so please be patient. Thanks in advance for any help.
Old 06-29-2006, 03:31 AM   #2
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
When you boot your machine, you should get the GRUB menu displayed. If your machine only has Ubuntu, this is probably hidden. After the BIOS checks, you should see "Press ESC to enter GRUB" or something like that. Press Escape, and select "Ubuntu 2.6... (Recovery Mode)". This should boot you into Single User mode, and you now are logged in as root.

Enter the command:
passwd rdmatt
at the prompt, and enter a new password for yourself. You won't see anything echoed to the screen, but this is OK.

Now enter the command:
Hopefully, when the login screen comes up, you should be able to login with your new password.

I hope this helps
Old 06-29-2006, 03:38 AM   #3
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Here's how to boot as root without a password. Next, you can set the password using the passwd command.

Edit: (Oops, there's a reply already.)
Old 06-29-2006, 07:49 AM   #4
LQ Newbie
Registered: Jun 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Username and Password

Thanks so much for the tip. I will give it a try tonight.


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
Username and password on ubuntu 6.06 i3 CGF Linux - Newbie 2 04-08-2006 07:40 AM
Username/Password Help FindingWaldo763 Linux - Newbie 7 12-18-2005 07:15 PM
username and password no go bmd Linux - Newbie 7 04-06-2005 08:26 PM
username/password sailu_mvn Programming 5 12-21-2004 03:21 AM
Username and Password dance2die Arch 3 09-01-2003 03:32 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration