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 [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

