View Full Version : [kubuntu] Log in Problem

September 14th, 2008, 06:04 PM
I've just managed to lock myself out of Kubuntu. After installing it on my family's computer and making setting up a user account for each person, I deleted the account I was currently using and restarted. Now when I boot up it gives me the list of user names which I can select, but won't allow me to log in. I enabled passwordless log in, but when I hit return it just says "Log in failed". This is the same story for all the user names.

Could somebody please tell me how I can get back into my system?

September 14th, 2008, 06:24 PM
You could boot into recovery mode (which is single user mode as root) and add yourself back as a user with a password. You could at least then get back into the system try and correct whatever is wrong. I can't imagine why your other users cannot log in if you enable passwordless log-in, but there is probably an issue with that.

September 14th, 2008, 06:30 PM
here, I googled it for you, top two links



these two sites were referring to Edgy and Dapper, but the same will apply to all Ubuntu Distros, might even work with all debian systems, dont know about that one for sure though.

Yannick Le Saint kyncani
September 14th, 2008, 06:38 PM
Hi Igniteflow,

The account kubuntu created at installation has admin rights, removing it was a (bad) mistake.

So you will have to give admin rights to some account, and that basically also means leaving a password for this one.

So :

- Keep in mind that all the follwing steps will be done with admin privileges, messing one up can remove everything you have installed and kill your neighbour's dog.

- Boot into recovery mode, as Bobnutfield said.

- Give a password to an existing account :

passwd youruser

- Give this account rights to become admin :

Edit the group file :

nano /etc/group

Add yourself to the admin group, that is the group file should contain a line that looks like


(the number is not important), change it to


- Reboot (type reboot)

Hope this works :)