How to Set Ubuntu 12.04 to it's factory settings like when u first installed it?
Posted
by
Cameron
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Cameron
Published on 2012-10-20T10:37:38Z
Indexed on
2012/10/20
11:21 UTC
Read the original article
Hit count: 378
12.04
Well, this is a simple answered question, from the title, but my real problem is hard af.
I have set ubuntu to use root, then it wouldn't let me log into the admin account only root and guest
I deleted the admin account, remade another, then attempted to disable root account.
This failed - I messed up the password, the original password was "root"
I also didn't set a password for my new admin account, so It says it has one, whats the default password for it?
I can't moderate my ubuntu system at all now. I have tried to drop to cmd shell thing, it asks for the root password, i type 'root' and any other possible passwords, it doesn't work.
To reset ubuntu to factory settings i have found that i could enter the following code:
sudo dpkg-reconfigure -phigh -a
sudo Requires admin password, that I cant find out without root password and I don;t know.
My goal is to try to fix this without remaking a bootable usb for ubuntu, because I lost the one i made for this. so If i can't, please say so. If you can help thanks!
© Ask Ubuntu or respective owner