home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!news.uiowa.edu!hobbes.physics.uiowa.edu!zaphod.mps.ohio-state.edu!usc!rpi!sarah!cook!psinntp!psinntp!vitro.com!vitro.com!eswgcs
- From: eswgcs%v8.decnet@v7.vitro.com
- Subject: killing process by UID
- Message-ID: <1992Dec30.090112.1@sep.vitro.com>
- Lines: 5
- Sender: guest@vitro.com (DECnet default account)
- Reply-To: cstump@vitro.com
- Organization: Vitro Corporation
- Date: Wed, 30 Dec 1992 14:01:12 GMT
-
- I am looking for the best way to detect all processes owned by a given user
- and kill them. I would appreciate any ideas in both C and in shell code.
-
- Thanks,
- Chuck Stump
-