[K12OSN] cron to kill users or group?

Mike Ely mely at rogueriver.k12.or.us
Fri Mar 24 23:44:41 UTC 2006


Dan Young wrote:
> Mike Ely wrote:
>> Yes, there is - the program is called "slay" and it's actually a pretty
>> simple shell script.  With Debian, just apt-get install slay, and I'm
>> guessing redhat will have it in a yum repository.
> 
> I'm not familiar with slay. How would that differ from:
> 
> # pkill -u username
> 
It's a little more verbose, a lot more amusing, and works for me:
http://dante.rogueriver.k12.or.us/misc/slay.txt

(uses kill with flags rather than pkill)

Cheers,
Mike




More information about the K12OSN mailing list