can't enter ubuntu

Asked by Hal Gibson

I just installed ubuntu, never used it before, know nothing yet about it. First off, it asks me for username and password. When I enter these, it doesn't like them. How could it decide they are wrong when I've never been there before?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Escuro Anjo (escuro-anjo) said :
#1

while installing it was ask you about you name and password .. what did you entered there ?

it's the same ..

you must said something because you have to enter somethig so you have a user and pass ..

Revision history for this message
Hal Gibson (hsgibson1) said :
#2

I didn't take notes, but I don't recall entering anything. I have tried all the combinations I ever use, and no go...

Revision history for this message
blazeu (shaneillsley) said :
#3

you need to reinstall and remember what username and password you used

Revision history for this message
Tony Pursell (ajpursell) said :
#4

... and remember that all user names and passwords are case sensitive (e.g 'tony' and 'Tony' are not the same).

Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#5

You can set a new password.

Start the pc the when you see the GRUB row...

Press ESC and choose the recovery mode

You will get to a prompt. You are root the superuser and can do anything you want
So enter the following command:

passwd your_user_login_name

or

passwd -d your_user_login_name

where, your your_user_login_name is your login.

Please enter your new password

Once finished, enter

reboot

or

reboot -f

The pc restart, then select the normal boot mode.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Then if you don't remember or you are unsure of your user name, type in:

grep -i 1000 /etc/passwd

The system must show a row with your user name at the start of the row
for example:
danilo:x:1000:1000:ubuntu,,,:/home/danilo:/bin/bash

Here my user is danilo

Then to change your user password type in:

passwd danilo

or

passwd -d danilo

change username with your real user

Set your password.

Type in:

reboot

or

reboot -f

Hope this helps

Revision history for this message
Hal Gibson (hsgibson1) said :
#7

Thanks marcobra, that solved my question.