Re: Modifying kernel so that non-root users have some rootcapabilities

From: David T Hollis
Date: Tue May 25 2004 - 10:01:22 EST


On Mon, 2004-05-24 at 15:21 -0700, Laughlin, Joseph V wrote:
> (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
>
> Anyone got any ideas about how I could start doing this? (I'm new to
> kernel development, btw.)
>
> Thanks,
>
It's these sorts of things that make Windows so unstable. As others
have suggested, the considerably safer alternatives have already
surfaced, been around, had the tires kicked etc. in the form of setuid,
sudo, or kernel capabilities. Some of these things may even be possible
from SELinux, but I'm not certain.

--
David T Hollis <dhollis@xxxxxxxxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/