Administrator account without a password.

Asked by Sickofguessing on 2011-10-23

Installed Ubuntu 11.10 on a disc I burned on friday with a fresh install on a new 2tb hard drive. It was running great but when I was trying to turn off the need to input the password for every download I created an account that needed no password but when I turned on my computer the next day it asked for a password and wont sign in with a blank password box or with anything else in it.
I did the common step by going through grub but after the passwd command and changing the password it comes up with 'Authentication token manipulation error" and somthing like failed to change password. I look around and no-one has a fix that helps me in my particular instance although others are similer.
I tried to boot my live cd to reinstall and even tried using my new windows 7 disc to install over Ubuntu to at least have a computer to use but both instances just load up the installed partition and now im stuck with a locked computer on a Guest account.

I have tried to use TTy1 but it needs a login and password
I have tried passwdI have tried the kernel- or somthing like that to change it that a guide said to type ;rw init-/bin/bash/' but that does not even do a single thing other than crashing ubuntu and rebooting.
I have seen somthing about mounting the cd but I have no idea how as the offical ubuntu section on lost password says to boot up live cd then mount it but not exactly how that happens.

I have no idea what to do.-Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Solved by:
zvacet
Solved:
2011-10-23
Last query:
2011-10-23
Last reply:
2011-10-23
Best zvacet (ivicakolic) said : #1

If you don´t find any other option then reinstall.During install select manual way ( or I think now is something else) and select partition with ubuntu and install on it.You can even delete it first and then mark it as /root and ext4 and check format box.

zvacet (ivicakolic) said : #2

If you don´t find any other option then reinstall.During install select manual way ( or I think now is something else) and select partition with ubuntu and install on it.You can even delete it first and then mark it as /root and ext4 and check format box.

I would LOVE to re-install but I have no idea how to do this on Ubuntu. Quite embarrassing really.

Sam_ (and-sam) said : #4

> offical ubuntu section on lost password says

Try recovery mode.
https://help.ubuntu.com/community/LostPassword

> to boot up live cd then mount it but not exactly how that happens

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

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

If https://help.ubuntu.com/community/LostPassword doesn't work then please post a reply describing exactly what happens (or if you have already tried to convey that information to us, please try to clarify so we better understand). You might also try working from the similar instructions at http://www.psychocats.net/ubuntu/resetpassword.

If we cannot get any of that to work then I can provide detailed instructions for booting from a live CD, mounting your Ubuntu partition, chrooting into it, and resetting the password that way. (Even that would typically take considerably less time than reinstalling from scratch, and though it's more technical than reinstalling, the technical burden on you would be as small as possible--I can provide specific instructions for obtaining the necessary system-specific information, then walk you through the process.)

Thanks zvacet, that solved my question.

In the end I found my BIOS would not detect my CD drive correctly so a total reinstall of Ubuntu fixed everything, Thanks for the help.

@Eliah Kagen -Also note that the reason I could not reinstall was because of the faulted BIOS thanks anyway