newby

Gavin McCullagh gmccullagh at gmail.com
Fri Mar 2 09:45:54 UTC 2007


Hi,

On Thu, 01 Mar 2007, Simon Ruiz wrote:

> Unfortunately, I believe you're um, out of luck. There is no default
> username and password, so unless you get the username and password from
> the original installer, there's little chance that you'll be able to get
> in.

Hold on.  There's every chance.

I'm pretty sure this works but I'm not near an ubuntu machine I can reboot:

1. Boot the machine.
2. When the BIOS disappears and the boot menu comes up, press ESC.
3. Choose the second option (it should be the same as the first except for
   being called rescue)
4. The system should boot up to a root command line
5. Type:
	grep 1000 /etc/passwd
   this should give you an entry like: 
	gavin:x:1000:1000:Gavin McCullagh,,,:/home/gavin:/bin/bash
   which indicates that "gavin" is the username of the first (and likely
   the admin) user on the system.  Note the username.
6. Type 	
	passwd <username>
   and key in the password you want.

I'm pretty sure steps 1-3 should get you to a command line without a
password, after all there is no root password on ubuntu.  If this doesn't
work, you can try using a live cd to edit the shadow file.  I'll explain
how to do this if the above fails.

Gavin





More information about the edubuntu-devel mailing list