[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: at jobs are always run with nice 0



In message <200105052300.f45N01D13521@baldrick.d1906.inka.de>
	so spake Hans-Guenter Weigand (hgw):

> at(1) jobs are always run with nice 0, because setusercontext(3)
> overwrites the priority value set by nice(3).  I wonder how the
> priority can be lowered while running with the effective uid of
> a user != root.  I thought this is not possible.

The priority is increased when the uid == 0 is why it is possible.
That patch looks reasonable -- I'll commit it or something similar.

 - todd