Re: How to remove a user?
>>>>> "A" == Andreas Wehler <wehler2@welfa4.elektro.uni-wuppertal.de> writes:
A> After searching a while for a program or script to completely
A> remove a user I didn't found something and did it per hand. Is
A> this neccessary? Thanks.
Right now, this is the only way to handle it. You need to remove
their /etc/passwd, and /etc/group entries, but first, you should
probably search the filesystem for any files they own and do something
with them. Then, as a final step, you way want to remove their home
directory.
You can find all a user's files by using
find / -user username -or -group usergroup
You'll need to run this as root so that you don't get blocked from
directories without read permission.
I haven't actually done this recently, so this may not cover
everything. -- Rob
Reply to: