Re: killing all processes of one user reliably
- From: Michael Heiming <michael+USENET@xxxxxxxxxxxxxx>
- Date: Thu, 1 Feb 2007 18:45:07 +0100
In comp.os.linux.security Tomasz Noi?ski <noix@xxxxxxxxx>:
On Wed, 31 Jan 2007 19:24:10 +0100 Michael Heiming wrote:
In comp.os.linux.security Tomasz Noi?ski <noix@xxxxxxxxx>:
Hi,
I've been researching ways to kill all processes of one user (while being
root, of course) and I couldn't find _one_ program doing it without race
conditions.
man fuser
Hint:
Go for the tty to get rid of the dude...
It is similar to "skill" (loops through /proc) and has the same race
condition. Therefore, it is _unreliable_.
It seems from your URL you have created an app that does solve
your problem, I have never run into.
You could just incorporate it into 'kill' and send the maintainer
a patch.
Good luck
--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 301: appears to be a Slow/Narrow SCSI-0 Interface
problem
.
- Prev by Date: Keylogger software
- Next by Date: Re: Keylogger software
- Previous by thread: Re: killing all processes of one user reliably
- Next by thread: Keylogger software
- Index(es):
Relevant Pages
|