Modifying kernel so that non-root users have some root capabilities
Quoted 8 lines · Joseph V
(not sure if this is a duplicate or not.. Apologies in advance.)
I've been tasked with modifying a 2.4 kernel so that a non-root user can do the following:
Dynamically change the priorities of processes (up and down) Lock processes in memory
Can change process cpu affinity
Capabilities should do this, but they don't. See the huge thread on capabilities these past couple weeks.
You're probably best off with a setuid-root executable.
--Andy