Is there a reliable way to kill all the processes of a given user? kill(-1, SIGKILL) as that user will work, unless a rogue process of that user kills the killi
kill(-1, SIGKILL)
What about iterating on the /proc virtual file system ? http://linux.die.net/man/5/proc ?