HP3000-L Archives

May 1999, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Frank Letts <[log in to unmask]>
Reply To:
Frank Letts <[log in to unmask]>
Date:
Sun, 16 May 1999 17:21:05 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
off bigdaemon

off would look like (I'm tired and greasy plus don't have any
manuals with me, so be gentle)
-----------------------
ps -ef (or ax or whatever) > tempfile
grep -ye $1 temp grep -v grep | file2
input file2 data
pud=cut -f1 $data
setuid($pud)
kill -9 $1
--------------

I think that's it.  I think I'd limit who could use it with sudo
or some such.  If you did that, you could skip the set id
and just waste the offending daemon.  Just be aware that the system most
likely will become unstable after doing so.

It might be mistaken for an NT box :)

gotta go change some ball joints.

Frank Letts (aka 'Fast Frank')
http://freeweb.pdq.net/fbt1
[log in to unmask]

ATOM RSS1 RSS2