CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/09/03 05:29:17
Modified files:
distrib/miniroot: install.sub
Log message:
Add a do_as() function that executes commands as unprivileged user
and ensures that no processes of this user remain active afterwards.
Optionally, it creates a file, that is owned by the user only for
this command execution. Afterwards it's chown'd by root.
Add wrapper functions for do_as(). unpriv() uses the _sndio user
and unpriv2() uses the _file user to execute commands.
OK halex, tb, deraadt