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 <[email protected]>: > On 09.03.2011 17:04, [email protected] 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 > [email protected] > https://cfengine.org/mailman/listinfo/help-cfengine > -- SY, Seva Gluschenko. _______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
