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 <mikhail.gusa...@cfengine.com>: > 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 better way >> to execute a file with such rights ? > > commands: > "/sbin/su" > args => "-c '/usr/sbin/inetd -c' bin" > > or something similar. > > -- > Mikhail Gusarov > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine > -- SY, Seva Gluschenko. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine