Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

basic question

Status
Not open for further replies.

monman

Technical User
Aug 2, 2001
40
CA
How do I kill a user off the system ?

Thankyou.
Mon
 
do ps -ef and find the process id of the user
then kill [processid]

This will logoff the user. The users process may still be running. You may need to find those and kill them too.
 
Fast and fun:

#su - user
$kill -2 -1

That kills everything run as that user; if not, try -9 instead of -2. You can also pick through their history before you do the kill. You should disable logins for the account before you do this, in case they are fast with the login. As usual, I am merely suggesting things so please use your own discretion. I know far more about how to break these things than I should. IBM Certified -- AIX 4.3 Obfuscation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top