Ubuntu

Can't reboot to change password because I need the password to reboot.

Asked by kittie cortez on 2012-06-15

(all my questions are linked...one after the other) So I asked another question yesterday, and I thought it would finally be the answer to this whole problem but seems I have another problem. These are the great instructions I was following:

http://www.psychocats.net/ubuntu/resetpassword

Until...

I tried to access the screen to reboot by pressing SHIFT while the computer is booting, and I didn't get any results..nothing I tried it aout 5 times.

I read that you can also press ESC while the computer is booting, and result was I just got really fast text in black and white pass before my eyes and then....back to the login screen.

I also read that I can type "sudo reboot" into the Terminal and I did that however when I did it asks for a password...which is my problem so it doesn't help.

I have no idea what I can do..feels like a dead end....if anyone has an idea how I can finally change my password without needing a password!!!...please it is much appreciated Thank you.

Every question I ask I get an answer that is so close..yet so far (-_-) help....

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Last query:
2012-06-15
Last reply:
2013-03-26

You could always boot to liveCD then chroot and run commands there.

I did some research on what you mean by live CD and found this:

https://help.ubuntu.com/community/LiveCdRecovery

So I am assuming liveCD is the Ubuntu CD. I don't know what you mean by chroot....if you want to explain it's much appreciated or I can do more research.

The Ubuntu Cd I have is version 11.0 something and I now have Ubuntu 12.4 so can I still use that 11.0 something Cd or should I get one that is 12.4?

http://www.omgubuntu.co.uk/2011/09/live-usb-sticking-grub-2-video

After the chroot command, run:

passwd foo

And you will be able to change the password on the installed OS

to reboot you can press ctrl +alt + f1 to switch to a pseudo terminal then press (to reboot)

ctrl +alt + del

Irfaan (irfaan-ely786) said : #5

I need help to reboot my webbook I don't know my password and they ask me for "authenticate to modify the system configuration"

sudo reboot

and it will reboot

Can you help with this problem?

Provide an answer of your own, or ask kittie cortez for more information if necessary.

To post a message you must log in.