On Thu, Jan 09, 2014 at 08:50:55AM -0800, Steve Langasek wrote: > For a lightweight, PAM-less uid switcher in Debian's base system, you > probably want to use start-stop-daemon --chuid.
Unless you might need to run in contexts (e.g. debootstrap, or chroots of various kinds) where start-stop-daemon is disabled. This is why I changed man-db to use a tiny perl wrapper instead. perl -e '@pwd = getpwnam("man"); $( = $) = $pwd[3]; $< = $> = $pwd[2]; exec "/usr/bin/mandb", @ARGV' -- "$@" || true -- Colin Watson [cjwat...@debian.org] -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140109174302.ga3...@riva.ucam.org