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 contain as Mark advised, with bin or 2 (its userid) as an argument : commands: "/usr/sbin/inetd" comment => "relaunch inetd", args => "-c", contain => setuid("bin"), classes => if_repaired("inetd_ok"); reports: inetd_ok:: "relaunch inetd sucks"; # cf-execd -v -F ... cf3 - xxx: /usr/sbin/inetd promises to be executable but isn't cf3 - xxx: I: Made in version 'not specified' of '/var/cfengine3/inputs/cf.hpux' near line 17 cf3 - xxx: I: Comment: relaunch inetd _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine