On Tue, Feb 23, 2010 at 9:24 PM, Anthony Newland <[email protected]> wrote:
> I've just finished installing Fedora 10 into the Sun VirtualBox, and now I
> can't seem to login. I don't remember making up a user account for this, so
> I have no idea what it could be. Thoughts?

Boot your VM off your installation CD - or attach the installer ISO
image to your VM as a virtual CD.

>From the installer, start a shell, then mount the root filesystem of your VM.

There are two ways to deal with it at that point: one would be to edit
/etc/shadow with vi or nano, and just eliminate the root password,
that is, remove the characters between the two colons that delimit
encrypted password field, so that it becomes just "::".  After booting
your VM normally, and logging in with no password, go and set a
password.

Alternatively you can chroot into the mounted root filesystem, and
from there you can use the adduser command to set up a user for
yourself.  Put that user into the /etc/sudoers files so you can
administrate the VM during a normal boot.

I'll send you my bill in the mail. xD

Don Quixote
-- 
Don Quixote de la Mancha
[email protected]
http://www.dulcineatech.com

   Dulcinea Technologies Corporation: Software of Elegance and Beauty.
-- 
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to