Operating System - HP-UX
1835215 Members
2460 Online
110078 Solutions
New Discussion

favourite admin scripts...

 
Kevin Tuitt
Occasional Advisor

favourite admin scripts...

A pretty robust script for killing users. It takes multiple arguments e.g. kiluser user1 user2 user3

It checks usernames, provides options for killing all or a single user processes, checks the processes are owned by the user in question, provides customisable exclusion list (includes root already) blah de blah de blah. I've also got a kiltty (takes the tty as an argument) and a kilgrep (takes any string you give it; VERY dangerous) but I'm working on giving these the all, one or none options before submitting.
When you are right, no-one remembers; When you are wrong, no-one forgets.
3 REPLIES 3
Dave La Mar
Honored Contributor

Re: favourite admin scripts...

Kevin -
Saw your reply post in the appropriate place.
Welcome to the forums, and note that your error in attempting to reply instead of new post is one of those "been there, done that" things. So, you are fully initiated.

Kindest regards,
"Another relative newbie"

dl
"I'm not dumb. I just have a command of thoroughly useless information."
Kevin Tuitt
Occasional Advisor

Re: favourite admin scripts...

I almost died with embarrassment !!
When you are right, no-one remembers; When you are wrong, no-one forgets.
John Poff
Honored Contributor

Re: favourite admin scripts...

Hi Kevin,

Welcome to the forums! Don't be embarassed. I've done much worse than that before. Don't worry about it. Just have fun! :)

JP