Re: [MacPorts] #40644: sudo: fails to switch to other user than root
#40644: sudo: fails to switch to other user than root ------------------------------+----------------------------- Reporter: Peter.Danecek@… | Owner: youvegotmoxie@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: sudo | ------------------------------+----------------------------- Comment (by raimue@…): Your [https://trac.macports.org/attachment/ticket/48816/patch-sudo.c.diff patch attached to #48816] removes setuid(), which means the real uid of the target will not be set, only the effective uid will be changed. This is not the desired behavior. The seteuid() should be removed, as in [http://www.sudo.ws/repos/sudo/rev/10202 this upstream change]. Upstream report: http://bugzilla.sudo.ws/show_bug.cgi?id=713 Which leaves a question, why are we using `--disable-setreuid`? Apparently, this bug was only exposed due to this configuration. -- Ticket URL: <https://trac.macports.org/ticket/40644#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts