Re: terminate/kill a user

David Eduardo Gomez Noguera <[email protected]>
Newsgroups gmane.linux.redhat.release.psyche
Message-ID <[email protected]>
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
[email protected]
https://www.redhat.com/mailman/listinfo/psyche-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.