Starting a program with Nice value < 0 as a non-root user
I have some games that seem to benefit from being renice'ed (as in, the "renice" command) to a negative "nice" value. However, to do so I have to fire up a root login.
I'm about ready to write a renice wrapper to be run setuid root which can search for the games in the output of the "ps" command and renice them accordingly, but I feel like I must be re-inventing a wheel.
Is there an existing way to let users launch certain programs with negative "nice" values, or re-nice them to negative "nice" values, without root privileges?
|