[MacPorts] #47624: sudo 1.8.13 fails to read sudoers
#47624: sudo 1.8.13 fails to read sudoers ---------------------------+-------------------------------- Reporter: khindenburg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: sudo ---------------------------+-------------------------------- This works w/ sudo 1.8.8 {{{ kurthindenburg ALL=NOPASSWD: /opt/local/bin/port }}} {{{ User kurthindenburg may run the following commands on server: (ALL) ALL (ALL) NOPASSWD: /opt/local/bin/port }}} However, after upgrading to sudo 1.8.13, it no longer works {{{ User kurthindenburg may run the following commands on server: (ALL) ALL }}} -- Ticket URL: <https://trac.macports.org/ticket/47624> MacPorts <https://www.macports.org/> Ports system for OS X
#47624: sudo 1.8.13 fails to read sudoers ----------------------------+-------------------------------- Reporter: khindenburg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: sudo | ----------------------------+-------------------------------- Comment (by cal@…): Still works fine for me, tested with both {{{ %admin ALL=(ALL) NOPASSWD: /opt/local/bin/port }}} and {{{ %admin ALL=NOPASSWD: /opt/local/bin/port }}} Did you put this in `/opt/local/etc/sudoers`? -- Ticket URL: <https://trac.macports.org/ticket/47624#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47624: sudo 1.8.13 fails to read sudoers ----------------------------+-------------------------------- Reporter: khindenburg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: sudo | ----------------------------+-------------------------------- Comment (by khindenburg@…): Yes, it has always bin in /opt/local/etc/sudoers - can you test using your username? If that works for you than something on my end is messed up -- Ticket URL: <https://trac.macports.org/ticket/47624#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47624: sudo 1.8.13 fails to read sudoers ----------------------------+-------------------------------- Reporter: khindenburg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: sudo | ----------------------------+-------------------------------- Comment (by cal@…): I did that as well, and it also works for me. -- Ticket URL: <https://trac.macports.org/ticket/47624#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47624: sudo 1.8.13 fails to read sudoers ----------------------------+-------------------------------- Reporter: khindenburg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: sudo | ----------------------------+-------------------------------- Comment (by khindenburg@…): OK, testing it appears that this is the issue in /opt/local/etc/sudoers {{{ #includedir /opt/local/etc/sudoers.d }}} If I add another # in front, sudo now works as expected - note the folder has never existed AFAIK It looks like the upgrade created the .dist file {{{ -r--r----- 1 root wheel 3.5K May 4 09:01 /opt/local/etc/sudoers -r--r----- 1 root wheel 3.4K Apr 25 12:39 /opt/local/etc/sudoers.dist }}} -- Ticket URL: <https://trac.macports.org/ticket/47624#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47624: sudo 1.8.13 fails to read sudoers ----------------------------+-------------------------------- Reporter: khindenburg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: sudo | ----------------------------+-------------------------------- Comment (by khindenburg@…): THe issue is definitely related to this line in sudoers {{{ #includedir /opt/local/etc/sudoers.d }}} I'm not sure why I'm the only one having this issue. -- Ticket URL: <https://trac.macports.org/ticket/47624#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47624: sudo 1.8.13 fails to read sudoers ----------------------------+-------------------------------- Reporter: khindenburg@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: invalid | Keywords: Port: sudo | ----------------------------+-------------------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/47624#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts