Re: terminate/kill a user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2003-08-17 at 17:49, bruce wrote:
> hey..
> 
> a simple quesiton that i can't seem to find the answer for...
> 
> how do i as the root..kill a user!!!
> 
> i can do "users" and get a list of the users..but how do i kill/terminate
> one...???
> 

to cleanly and securely terminate  a user, you must:
1. find all files belonging to that user
find / -user <username> -print >user.files
2. decide which files you should remove
3. Maybe you will need to do the same for the user's group
4. userdel will remove the user from the /etc/passwd and shadow files
and groupdel will do so for a group



-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux