logging in to the desktop

Asked by David Bailey

From an absolute beginner to Ubuntu.
I installed the system, restarted the PC and got to the log-on screen for my first use. I used exactly the user name and password that I typed in during installation, but I am being told that they are incorrect. I can't get any further, so what now?
Fortunately, XP is still working so I can ask this question.
- David.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Wyatt Smith
Solved:
Last query:
Last reply:
Revision history for this message
Best Wyatt Smith (wyatt-smith) said :
#1

Your username is always in lowercase letters, If you capitalized your name then it will default to lowercase anyway. If that is not the situation, let me know and I can tell you how to reset your password.

Thank you

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

Then if you are still in trouble and you want to discover your user name and change your password:

You can do this: http://www.psychocats.net/ubuntu/resetpassword

or

To discover your user and restore (change) the password you can:

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

Press ESC.

Press "e" for edit.

Highlight the line that begins kernel ………, and press "e"

Go to the very end of the line, add rw init=/bin/bash

press enter, then press "b" to boot your system.

Your system will boot up to a passwordless root shell.

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 username

or

passwd -d username

change username with your real user

Set your password.

Type in:

reboot

or

reboot -f

Hope this helps

Revision history for this message
David Bailey (david-bailey-web) said :
#3

Thank you very much... my problem is solved, and I really appreciate your help.
Thanks again
- David

Revision history for this message
David Bailey (david-bailey-web) said :
#4

Grateful thanks to WWSmith36 and marcobra