jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] Executing a plugin outside of jail as jailed user


From: Olivier Sessink
Subject: Re: [Jailkit-users] Executing a plugin outside of jail as jailed user
Date: Wed, 2 Aug 2017 16:57:11 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 01-08-17 20:56, Jack Torres (AdmiralApricot) wrote:
Hello,

I’m trying to allow a jailed user to execute a plugin located outside of the jail and receive the output in jail. Since the jailed user can’t see out of jail, I copied the plugin (jk_cp) into the jail. However, when I execute this copied plugin in jail, it seems to be unable to generate any metrics (it’s the check_disk plugin from Nagios). Here’s what I see:


I guess that the check_disk plugin reads it's data from /proc and perhaps something from /etc/fstab, so it needs to access those data. You can use 'strace' to find out what the plugin needs.

Olivier


-- 
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]