[plug] Process Scheduling

Craig Ringer craig at postnewspapers.com.au
Thu Jun 12 21:11:20 WST 2003


> Can anyone vouch for a good process scheduling tool that can allow users 
> to allocate processes with priorities kinda like nice, but with the 
> ability to increase not just decrease etc?

A setuid copy of renice called, say, unice, that's only executable to 
group "renice" (which you'd have to create). Like

---S--x---    1 root     renice        13948 Feb 19 01:19 /usr/bin/unice

The same technique would not be good for nice, since processes started 
by a setuid copy of nice would run as root. OTOH a setuid copy of renice 
lets users mess with core system proceses, too - so there'd be a level 
of implied trust.

I can't think of any more secure method off the top of my head.

Craig Ringer



More information about the plug mailing list