Help! All user accounts are gone after uninstalling quasar
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Help! All user accounts are gone after uninstalling quasar
I've got Ubuntu Hoary. I compiled Quasar from source and created a deb file using checkinstall and then installed it with dpkg. It did not work so I uninstalled it with Synaptic. For some wierd reason all my user account are gone now. I cannot login into my Ubuntu, because firstly, gdm does not start, complaining about gdm.config and secondly, when I have eventually console, it rejects any user name/login.
I've taken a look at /etc booting from knoppix and did not find any passwd file there, though I've got passwd.lock.
I've got a feeling that it happened because Quasar creates a user named Quasar when installed. I think what might happen was that it removed all users for some reason instead of only this Quasar.
I really need help because I cannot do anything at my PC now, Windows is killing me. I guess I have to restore users in some way but have no idea how to do it.
There's probably a package that contains a 'base' configuration for passwd, then you could re-add any actual user accounts that you have added. Or, you could just restore from backups: you did make a backup, right?
One advice was to boot from live or recovery cd and chroot into existing install and then create users from their. However, I do not know what happened to all other ssytem users and groups.
1. Installed Ubuntu on my second HD
2. Set up users as they were on my main installation
3. Copied the following files from a new /etc to an old /etc:
group
gshadow
passwd
shadow
sudoers
4. Edited menu.lst to add option to boot my old installation
And pretty much that's it. I had to change ownership of users homes, because they were messed up.
Now it works. Hopefully it will be fine.
The only question left is how to point grub to my old menu.list again, because it now uses menu.list from a second HD?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.