Hi, Marc Haber: > >start-stop-daemon has: > > -c, --chuid username|uid[:group|gid] > > Will a script doing this be portable to other Linuxes or even BSD > Unices? > No. BSD has daemon(8). If you want portability, you probably need to check what's available. (start-stop-daemon, daemon (on BSDs), sudo)
FreeBSD's /bin/su, by the way, is using PAM too (see the manpage). So I wouldn't trust it to not do any session magic either. -- -- Matthias Urlichs -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140511134515.gc13...@smurf.noris.de