This forces $ENV{'HOME'} to whatever the home directory is for the user
running the code. There may be a more elegant way to do this -- heck, I
could even argue that the FreeBSD startup scripts should be switching
users with "su -", and then this wouldn't be an issue.
Hi, Dan,
I can't say for FreeBSD, but in the case of Debian it is a shortcoming of start-stop-daemon (see, for example http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295169). IMHO, the current behaviour when using chuid violates the Rule of Least Surprise.
Rob
_______________________________________________ Discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
