dpkg interrupted and i don't remember my user password
Need superuser priveliges. Lost password.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- 2009-09-19
- Last reply:
- 2009-09-19
This question was originally filed as bug #432717.
Chris Coulson (chrisccoulson) said : | #1 |
Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https:/
Lars Ljung (larslj) said : | #2 |
You can set a new password from recovery mode. Choose recovery mode from the boot menu and then issue the command "passwd username". Run "exit" to resume normal mode.
Chris,
I'm sorry I don't understand, what Lars proposed. What is the boot menu?
Thanh you,
Ruben
*******
On Fri, Sep 18, 2009 at 4:49 PM, Lars Ljung <
<email address hidden>> wrote:
> Your question #83199 on Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Lars Ljung proposed the following answer:
> You can set a new password from recovery mode. Choose recovery mode from
> the boot menu and then issue the command "passwd username". Run "exit"
> to resume normal mode.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you are a direct
> subscriber of the question.
>
Daniel Hollocher (chogydan) said : | #4 |
Many people get a menu when you first boot, ie before Ubuntu starts to load. Sometimes it says something about a grub menu, and that you have to click some button, maybe the delete key. (Sorry, I can't quite remember). You only have a few seconds to click. That is also the menu being talked about.
1 ---- ) First try this:
I don't remember user and password what i can do
You can do this: http://
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:
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
*******
After restoring/change your password
*******
2 ---- ) You strictly need to open a Terminal from the menu Applications-
sudo dpkg --configure -a
give your user password when requested, you don't see nothing when you type it, then press enter.
-------
But to fully check and upgrade your system using terminal using command line,
open a Terminal from the menu Applications-
Tip: right click with mouse on the terminal title caption and select the item "Always on Top" doing this you will force the terminal window to stay on top of the other windows and you will find very easy to copy single row from this web page into the terminal...
Something more about using the terminal https:/
Then type or better copy and paste a row a time then press enter:
(Tip: select the single row to copy then right click into the terminal and to quick paste click with middle button of mouse )
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove
then please reboot your system, type
sudo reboot
give your user password when requested, you don't see nothing when you type it, then press enter.
Hope this helps
Can you help with this problem?
Provide an answer of your own, or ask Ruben Montoya for more information if necessary.