Scott James Remnant <scott-Umf49k1wg4FWk0Htik3J/[email protected]> writes:
> While there is direct support for this coming in Upstart, it pretty > much amounts to exec'ing "su" for you... Are you really executing 'su' or something like setuidgid[1]? 'su' would be bad because it spawns a shell (which is usually /sbin/nologin or so for system accounts) and interpretes the given command string in the shell. 'setuidgid' would be much better because it simply execv's its arguments after changing the id. Enrico Footnotes: [1] http://cr.yp.to/daemontools/setuidgid.html -- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
