Re: [Jailkit-users] chrootlaunch from inittab - followup
From:
DTakemori
Subject:
Re: [Jailkit-users] chrootlaunch from inittab - followup
Date:
Mon, 30 Mar 2009 08:54:47 -1000
>From: Olivier Sessink <address@hidden>
>To: address@hidden
>Message-ID: <address@hidden>
>
>address@hidden wrote:
>[..]
>> So apparently, something not defined in inittab's environment
(just a
>> guess:
>> USER) can cause permissions problems for perl (and possibly anything
>> else).
>
>if that would be the problem, you could easily fix it by adding this
>environment variable to the top of the perl script.
That's a perfectly workable solution for scripts,
but less so for compiled binaries.
>> Should jk_chrootlaunch be updated to be more like jk_chrootsh
and only pass
>> environment variables defined in an .ini file? Doubtless
it would cause
>> breakage
>> for some chrootkit users.
>
>in that case you're still missing the variable when running from
>inittab... So it wouldn't help you, right?
I misunderstood how the jk_chrootsh.ini file works.
I thought you could define environment variables in it, not just
mark them for passing into the chroot.
Dean Takemori
Systems Support Supervisor
TD Food Group
address@hidden