Installed Ubunto 7.10 and asking for login and password

Asked by Nic Wingate

I installed Ubuntu 7.10 on my Toshiba Satellite with 256 m of ram and a 30g hard drive and when I start it up I get the login screen. I tried my full name, user name and all the different passwords I could think of. I have also went into recovery mode and "changed" the password. I want to know exactly what I need to log on and a way if any to be able to change the user name and password.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
vlowther
Solved:
Last query:
Last reply:
Revision history for this message
arochester (arochester) said :
#1

If you were not asked for a username and password during installation than you may have used the oem install instead of the text install. If you did use the oem install then try username:oem and password: (either)oem (or)[blank]. The oem install is not complete until you open a terminal and input:sudo oem-config-prepare Then you will be asked some questions including new username and new password.

Revision history for this message
Marcos (r-marcos-mw) said :
#2

i've never tried to install with oem manufacture option before.
but I think the concepts stills the same. you can try to edit your
/etc/passwd file or you can create new user from tty1 (Ctrl+Alt+F1)
with useradd command.... so you can login with your desire username
and password.

On 12/14/07, arochester <email address hidden> wrote:
> Question #20025 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/20025
>
> Status: Open => Answered
>
> arochester proposed the following answer:
> If you were not asked for a username and password during installation
> than you may have used the oem install instead of the text install. If
> you did use the oem install then try username:oem and password:
> (either)oem (or)[blank]. The oem install is not complete until you open
> a terminal and input:sudo oem-config-prepare Then you will be asked some
> questions including new username and new password.
>
> --
> You received this question notification because you are an answer
> contact for Ubuntu.
>

Revision history for this message
Best vlowther (victor-lowther) said :
#3

Assuming you are not in oem mode and have just forgotten your username and password, here is how to fix this issue.
This fix is rather technical in nature, so be sure to either print it out or carefully copy it down before starting:

1: Reboot back into recovery mode. Since you already did this once, I will assume you know how to do it again. :)

2: When you get to the command prompt, type "grep ^admin /etc/group" without the quotation marks and press Enter.
    Your should get a line of text back that looks like this:
    admin:x:117:user
    The word after the last : is your username. If there is more than one, they will be separated by commas, like so:
     admin:x:117:user1,user2
    In that case, choose whichever username in that comma-seperated list strikes your fancy.
    If you do not get anything back, then this fix cannot be used to fix your issue.

3: Type "passwd <user>" without the quotes and press Enter, where <user> is the username you found or chose in step 2. Enter the new password you would like.
    We change the password because it is much easier than trying to recover the old one.

4: Once the password is changed, type "reboot" without the quotes and press Enter.
     Once the system finishes rebooting, you should be able to log on to the user account that you reset the password for in step 3.

What you just did was to find all the user accounts on your system that have administrative rights and reset the password for one of them.

Revision history for this message
Nic Wingate (nic-291) said :
#4

Thanks vlowther, that solved my question.