lesser-equity

Computer Juice Magazine
Go Back   Computer Juice > Computer Software > Linux & Alternative OS



Reply
 
Thread Tools
  #1  
Old 20th Nov 2008, 11:31
New Member Group
 
Posts: 1
Default I installed Ubuntu, and it asks me for a username...

...and password. I remember the password but not the username? I don't even remember it asking me to type in a username. Is there anyway to get it back without re-installing it?

  #2  
Old 20th Nov 2008, 11:37
Administrator Group
 
Skill Level: Advanced
Posts: 9,562
Default I installed Ubuntu, and it asks me for a username...

Username and password is set on Install, not 100% but I think you will need to re-install.
__________________

My System: The Hybrid Lappy

Processor(s):
AMD Turion 64 x2 TL-64 2.2GHz
Motherboard:
HP nForce 560
RAM Memory:
2GB DDR2 PC2-5300
Graphics Card(s):
Nvidia 7150M Onboard Integrated
Sound Card:
5.1 Onboard Integrated
Hard Drive(s):
250GB 5400RPM SATA300
Optical Drive(s):
18x CD/DVDRW-DL ATA
Case / PSU:
Stock HP
Cooling:
Stock HP
Network / Internet:
10/100 Nic / 10MB Virgin Cable
Monitor(s):
17" WXGA+ HD BrightView Widescreen
Operating System(s):
Windows Vista Home Premium 32 SP1
  #3  
Old 20th Nov 2008, 14:00
New Member Group
 
Posts: 1
Default I installed Ubuntu, and it asks me for a username...

1) It probably asked you for the root(top level account) password. Try the username root.

2) If it's not for the root account you can boot the machine in single user mode. Single user mode give you access to the system without the need for a password.

http://www.debuntu.org/recover-root-...-mode-and-grub

Now this tutorial is for root password recovery, but instead you can look in the /home directory after you've logged on.

You might ask what's the point of passwords if you can just boot your machine into single user mode. The point of Linux passwords is to protect the system once it's booted up, and mainly for over the network. Single user mode is for maintance in case anything goes wrong with the system (ie, the password file got corrupted, or booting doesn't go very far). To protect your machine from people who have physical access to your machine, you should use a BIOS password.
  #4  
Old 20th Nov 2008, 14:31
New Member Group
 
Posts: 1
Default I installed Ubuntu, and it asks me for a username...

Boot-up from the installdisk and run it "live".
Open a terminal and type 'sudo -i'
Mount the partition you installed ubuntu on to /mnt (e.g. 'mount /dev/hda1 /mnt')
Look at the /etc/passwd file of your installed system (e.g. 'less /mnt/etc/passwd'), there you should see what name you used (probably an entry near the bottom, with an UID of 500 or 1000 or thereabout).
Unmount /mnt, shutdown and remove the CD before rebooting.

Please support this forum, donate towards our running costs.
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot help - ubuntu installed, now adding vista d0od Windows Operating Systems 1 7th Nov 2008 07:47
Username Change Jase123 Community News & Chat 1 27th Jan 2008 11:51
Computer asks for uninstalled operating system RobT Windows Operating Systems 2 29th Oct 2007 08:28
Cant enter BIOS to reinstall because it asks for pw before boot mrrohan Laptops, Mobiles & PDAs 4 9th Sep 2007 10:16

Tags
asks, installed, ubuntu, username

Bookmarks
Thread Tools



Arabic Bulgarian Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Norwegian Polish Portuguese Romanian Russian Serbian Slovak Spanish Swedish Thai Turkish

Copyright ©2006 - 2009 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2009 Jelsoft Enterprises Ltd. SEO by vBSEO ©2009, Crawlability, Inc.