Pádraig Brady writes ("Re: bug#8700: Simple way to switch user/group
permissions without requiring PAM sessions"):
> On 05/19/2011 03:22 PM, Jim Meyering wrote:
> > Colin Watson wrote:
> >> Every so often I wish that there existed (preferably in the Debian base
> >> system) a tool analogous to chroot that drops privileges from root to a
> >> nominated user, group, etc. and runs a given program.
chiark-really (Source: chiark-utils) has "really" which can do this,
but of course it's not in Debian base and being set-id for its other
purpose it's probably not suitable.
OTOH the code is trivial and the behaviour is I think exactly as
desired.
Ian.