Is there a way to restrict CPU time (duration) for all processes which are invoked by executables that are located in a certain directory?
I would like to be able to auto-kill all applications which certain users start in their home directories after a certain amount of time (for example after 10 minutes).