Problem with Centos 6.1
Cantor, Scott
cantor.2 at osu.edu
Tue Dec 20 17:34:30 GMT 2011
On 12/20/11 11:58 AM, "Peter Schober" <peter.schober at univie.ac.at> wrote:
>* Martins Purins <mpurins at gmail.com> [2011-12-20 13:10]:
>> It seams I found something. May be its help for others.
>>
>>
>> Pass -m to runuser, so the environment is not cleared. (#203010,
>>#564093)
>>
>> --- a/rc.d/init.d/functions
>> +++ b/rc.d/init.d/functions
>> @@ -260,7 +260,7 @@ daemon() {
I'm a bit suspicious that there's actually no way to do this safely. There
doesn't appear to be any way to get -m passed to runuser via the daemon
function. I already implemented setuid/setgid support in shibd, I suspect
I'll have to switch from daemon -u to that approach.
-- Scott
More information about the users
mailing list