According to this forum thread there seems to be some more problems:
http://forums.somethingawful.com/showthread.php?threadid=3123824&userid=0&perpage=40&pagenumber=10

I'm not 100% sure this is the same bug though.

--
So I added a second user, but messed up settings, so I figured it'd be easier 
just to remove the user and start over. So I delete the user from Users and 
Groups, and then delete the folder in /home. Now when I go to re-create the 
user it says it already exists.
--
Maybe try from a terminal: sudo deluser (username)
--
Forgot to mention I tried that
 ->The user (username) does not exist.

and yes I did replace (username) with the user name, and didn't just copy 
verbatim. 
--
I just tried it on my system too and it won't let me readd a user that's been 
deleted either. To work around, I can readd the user from the command line:
sudo adduser --ingroup (username) (username)

Yeah username twice there, since it also leaves the group behind and adduser 
won't do the add if the group already exists. 
--
I suppose something like that. Clearly at the very least it is confusing. I dug 
into it a bit more and found what the real problems is. The error it is giving 
"user already exists" isn't because the user exists, but because the group they 
belonged to still exists. If you click "Manage Groups" and delete the group 
with the same name as the user, everything works again.

So to sum up, to really delete a user there are 3 steps: delete the user, 
delete the group, delete the user's home directory. 
--
Have both of you checked /etc/passwd, /etc/shadow and /etc/group?

It does seem like a bug, but it'd be interesting to know if the user data is 
still in those files. 
--
That's the first thing I checked actually. They're gone from passwd and shadow, 
but still in group, passwd-, shadow-, and group-. The group is the one that was 
making the UI tool fail.
--


** Changed in: gnome-system-tools (Ubuntu)
   Importance: Wishlist => Low

** Changed in: gnome-system-tools (Ubuntu)
       Status: Confirmed => Triaged

-- 
[users-admin] Deleting user should clean /tmp also
https://bugs.launchpad.net/bugs/26887
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a direct subscriber.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to