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

Re: terminate/kill a user



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





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