Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Cfengine Help: can not execute a user-only and
non-root executable
Author: santa
Link to topic: https://cfengine.com/forum/read.php?3,21044,21203#msg-21203
Thank's sauer. Send a SIGHUP to inetd works !
But I'm not able to use conta
On Fri, 11 Mar 2011 14:14:55 -0600 Ted Zlatanov wrote:
TZ> I don't have an account there yet and my Engine Room and Support
TZ> accounts don't work on that tracker. I requested the account; could you
TZ> or someone else do the feature request meanwhile?
Never mind, I got it done (sorry for the
On Fri, 11 Mar 2011 18:56:55 +0100 Eystein Måløy Stenberg
wrote:
EMS> You can set the environment in agent control:
EMS> http://www.cfengine.org/manuals/cf3-reference.html#environment-in-agent
EMS> This is a global setting that will be inherited by all children
EMS> (commands-promises and backg
Hi Ted,
You can set the environment in agent control:
http://www.cfengine.org/manuals/cf3-reference.html#environment-in-agent
This is a global setting that will be inherited by all children
(commands-promises and backgrounded/forked agent jobs).
I am not aware of a way to set this on a per-command
On Thu, 10 Mar 2011 22:35:31 +0100 (CET) mark wrote:
n> Please don't embed su in shell commands, use the contain method
n> contain => setuid("uid")
n> to do this. As always, if you look carefully, you will find the way to use
the features in a secure and efficient manner.
Is there a way to
Forum: Cfengine Help
Subject: Re: Cfengine Help: can not execute a user-only and non-root executable
Author: santa
Link to topic: https://cfengine.com/forum/read.php?3,21044,21076#msg-21076
ok sauer.
You are right , inetd -c may not do something else than sending a SIGHUP to
inetd.
I'll t
Forum: Cfengine Help
Subject: Re: Cfengine Help: can not execute a user-only and non-root executable
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,21044,21075#msg-21075
This is because inetd -c essentially sends a SIGHUP to the current inetd
process, and the current inetd is
Forum: Cfengine Help
Subject: Re: Cfengine Help: can not execute a user-only and non-root executable
Author: santa
Link to topic: https://cfengine.com/forum/read.php?3,21044,21074#msg-21074
I'll try it tomorrow.
inetd being owned by bin, and can be executed only by root.
ksh is owner by bi
Forum: Cfengine Help
Subject: Re: Cfengine Help: can not execute a user-only and non-root executable
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,21044,21072#msg-21072
Please don't embed su in shell commands, use the contain method
contain => setuid("uid"
Forum: Cfengine Help
Subject: Re: Cfengine Help: can not execute a user-only and non-root executable
Author: santa
Link to topic: https://cfengine.com/forum/read.php?3,21044,21071#msg-21071
Thanks Mikhail. It works with su. That's a workaround, su being owned by root.
I did not think at usi
That was false advice, again.
Look at "body contain" in the reference for examples about setting
user, working directory etc:
http://www.cfengine.org/manuals/cf3-reference.html#contain-in-commands
2011/3/10 Mikhail Gusarov :
> On 09.03.2011 17:04, no-re...@cfengine.com wrote:
>
>> comma
On 09.03.2011 17:04, no-re...@cfengine.com wrote:
> commands:
> "/usr/bin/inetd"
> args=> "-c",
> comment => "relaunch inetd";
> }
> Do you know if it's a normal behaviour of cfengine ? Is there a be
Forum: Cfengine Help
Subject: can not execute a user-only and non-root executable
Author: santa
Link to topic: https://cfengine.com/forum/read.php?3,21010,21010#msg-21010
Hello,
I'm a new user of cfengine.
I have a similar problem than this one :
https://cfengine.com/forum/read.php?3,15966,15966#
13 matches
Mail list logo