actually removing a user
NoOp
glgxg at sbcglobal.net
Thu Oct 22 02:15:04 UTC 2009
On 10/21/2009 07:04 PM, NoOp wrote:
> On 10/21/2009 06:09 PM, Mike McMullin wrote:
>>
>> I've removed a user or two on my laptop (didn't expect them to use the
>> system again, my bad, and removed their /home/deleteduser directories.
>> I want to re-add the user with their old log-in names and create
>> new /home/<addeduser> directories, but 9.04 complains that the user
>> exists, even though /etc/passwd and /etc/shadow and /home/ tell me that
>> they aren't there. What am I missing and how do I actually, totally
>> kill a user account to the point that it can be re-created as a new
>> account?
>>
>>
>
> I decided to test and used System|Administration|Users and Groups and
> removed a user via the 'Delete' button. I then also removed the user's
> home folder. You are correct; it didn't actually remove the user & the
> user name still shows up when I bring up System|Administration|Users and
> Groups.
>
> Meaning: it looks like a bug. Google for it and also check by searching
> launchpad to find the bug report (there must be one already).
>
This works:
@ sudo userdel -r <nameofuser>
However it should be possible to do the same using the gui (users-admin)
so I'd look for 'users-admin' bugs in the gnome-system-tools package:
<https://bugs.launchpad.net/ubuntu/+source/gnome-system-tools/+bug/349453>
[users-admin pretends logged in users can be removed, while they aren't]
Also:
https://bugs.launchpad.net/ubuntu/+source/gnome-system-tools
<https://bugs.launchpad.net/ubuntu/+source/gnome-system-tools?field.searchtext=users-admin&orderby=-importance&search=Search&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&field.has_no_package=>
More information about the ubuntu-users
mailing list