bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch for cfengine-1.5.4 (setting uid, gid in shellcommands)


From: Weil, Stefan 3732 SFA-5
Subject: Patch for cfengine-1.5.4 (setting uid, gid in shellcommands)
Date: Thu, 14 Dec 2000 10:29:25 +0100

Hello to all cfengine users,

this patch fixes some bugs I noticed with shellcommands which
use user= and group= parameters and a minor documentation bug.

1. The URL given for cfengine in README.install did not exist.
   This is an error which still exists in cfengine-1.6.0.

2. The error message for failures of setegid in src/cfengine.c
   wrongly displayed the uid, not the gid. This is an error
   which still exists in cfengine-1.6.0 (popen.c).

3. The error message for failures of setegid in src/cfengine.c
   displayed a failure of seteuid, not setegid. This is fixed
   in cfengine-1.6.0.

4. At least for Solaris 8, the order of seteuid and setegid had
   to be reversed. It must be first setegid, then seteuid, otherwise
   setegid might fail for uid != root. This seems to be fixed
   in cfengine-1.6.0.

Kind regards,
Stefan Weil

Please send any replies to address@hidden
I am no subscriber of the mailing list bug-cfengine.


Attachment: cfengine-1.5.4.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]