Password retrieval for Ubuntu gutsy terminal

Asked by Linda slasberg

I need to know where in my system would I set my passwords for the terminal. Up until now my tech guy has done it all for me but he is currently unavailable and I need to re-set my password as I cannot get into it. This is my home office and I am on my own here.

Linda

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu yelp Edit question
Assignee:
No assignee Edit question
Solved by:
Bhavani Shankar
Solved:
Last query:
Last reply:
Revision history for this message
peter b (b1pete) said :
#1

hello Linda slasberg,

take a look at the following url's, they are self explanatory:

http://ubuntuguide.org/wiki/Ubuntu:Gutsy#How_to_reset_root_password

http://ubuntuforums.org/archive/index.php/t-3609.html

hope this helps.

peter b

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

To discover your user and restore 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
change username with your real user

Set your password.

Type in reboot

Hope this helps

Revision history for this message
Linda slasberg (earthart) said :
#3

Dear Sir

Thank you for your help. The problem has now been solved.

Linda Slasberg
> Your question #26211 on file-roller in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/file-roller/+question/26211
>
> marcobra proposed the following answer:
> To discover your user and restore 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
> change username with your real user
>
> Set your password.
>
> Type in reboot
>
> Hope this helps

Revision history for this message
Best Bhavani Shankar (bhavi) said :
#4

Hello Linda

As a tip mate: If any of the post here answers your question here please click " This solved my problem " Button on the RHS bottom of the answer post mate.. Or if you are using an email interface please click the link below ' If this anwers your question " or something similar in the post of the answer which solved your problem

Regards

Bhavani Shankar.

Revision history for this message
Linda slasberg (earthart) said :
#5

Thanks Bhavani Shankar, that solved my question.