On Sat, 27 Jan 2024, tlaronde%kergis.com@localhost wrote:
> But does somebody know of an established program or library that allows
> to start a process as root and to automatically downgrade rights for
> tasks (I mean identified chunks of whatever code) that do not require
> privileges?
>
You mean toggling between various EUIDs and the saved-SUID? That's
pretty standard stuff, but, I don't know if it's been encapsulated
in any kind of utility.
-RVP