[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] client file check
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] client file check
- From: dOCtoR MADneSs <doctor (at) makelofine.org>
- Date: Mon, 06 Jul 2009 21:57:05 +0200
- References: <37752EAC00ED92488874A27A4554C2F303330A2A (at) lzbs6301.na.lzb.hq>
- User-agent: Thunderbird 2.0.0.22 (Windows/20090605)
Scot Kreienkamp a écrit :
Hi everyone…
Does anyone know how the client file check works? My client is running
as a non-privileged user and trying to check a file in the Postgres
directory, which of course it doesn’t have access to. I would let it
use sudo if I could, but adding sudo to the ls command in the client
config doesn’t do anything. So what mechanism does the client use to do
file checks?
Thanks,
Scot Kreienkamp
Hi,
You could try something like this :
in local-client.cfg add a section for this host :
[my_host]
file:`sudo ls /your/file`
and in hobbit-clients.cfg add a line in your host section :
HOST=my_host
FILE /your/file YOUR_SWITCHES
anyone disagree with it ?