Re: [vdr] RFC: Set environment variables after switching user (Patch included)

2013-03-14 Thread Klaus Schmidinger
On 14.03.2013 00:46, VDR User wrote: Why not just move vdr to the end of your init instead of having it fool around with setting things like $HOME, $SHELL, etc? Probably because he starts VDR as root to allow it to, for instance, set the system time, but wants to limit its rights to those of a

[vdr] RFC: Set environment variables after switching user (Patch included)

2013-03-13 Thread Manuel Reimer
Hello, depending on the init system and the way, how it is configured, scripts, executed by VDR, either have variables like HOME unset or still set to /root. This is useless for scripts or other external software, called by VDR. My small patch sets the common environment variables to the

Re: [vdr] RFC: Set environment variables after switching user (Patch included)

2013-03-13 Thread VDR User
Why not just move vdr to the end of your init instead of having it fool around with setting things like $HOME, $SHELL, etc? ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr