cannot find login password

Asked by Edmond Condillac on 2010-12-19

I am asked to login after booting in Ubuntu. The choice is between Admin Type and 'other'. What password is required here?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2010-12-30
Last query:
2010-12-30
Last reply:
2010-12-19

Your username and password are the ones you setup when you installed the OS

Edmond Condillac (econ22) said : #2

I am grateful for your kind reply. However, there was no username nor
password entered by me when I installed Ubuntu from flash USB drive. At
present Ubuntu is a boot up choice, along with Windows XP Home Edition, on
my hard drive.
I look forward to hearing from you and thank you for your most kind help and
advice.
Edmond
--------------------------------------------------
From: "actionparsnip" <email address hidden>
Sent: Sunday, December 19, 2010 3:28 AM
To: <email address hidden>
Subject: Re: [Question #138306]: cannot find login password

> Your question #138306 on nautilus in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/nautilus/+question/138306
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Your username and password are the ones you setup when you installed the
> OS
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/nautilus/+question/138306/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/nautilus/+question/138306
>
> You received this question notification because you are a direct
> subscriber of the question.
>

I don't remember user and password what i can do

You can try 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

Edmond Condillac (econ22) said : #4

I had to get arround the problem by using the disc. Thanks for your kind consideration of my query.