[MacPorts] #26675: wireshark 1.4.0: add variant +setuid_root to install dumpcap as setuid root
#26675: wireshark 1.4.0: add variant +setuid_root to install dumpcap as setuid root ------------------------------------------------+--------------------------- Reporter: michael.klein@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: haspatch | Port: wireshark ------------------------------------------------+--------------------------- To allow a ordinary users to start capturing packets in wireshark right away, it would be nice if the dumpcap binary could be installed as setuid root. This feature is already present in wireshark's configure script (--enable-setuid-install). Attached is a patch that adds a +setuid_root variant to the Portfile. Regards, Michael -- Ticket URL: <https://trac.macports.org/ticket/26675> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26675: wireshark 1.4.0: add variant +setuid_root to install dumpcap as setuid root ------------------------------------------------+--------------------------- Reporter: michael.klein@… | Owner: ricci@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: haspatch | Port: wireshark ------------------------------------------------+--------------------------- Changes (by ricci@…): * owner: macports-tickets@… => ricci@… * status: new => assigned Comment: The solution in #26293 is preferable (make /dev/bpf* readable by members of the admin group), is there a reason that won't work for you? -- Ticket URL: <https://trac.macports.org/ticket/26675#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26675: wireshark 1.4.0: add variant +setuid_root to install dumpcap as setuid root ------------------------------------------------+--------------------------- Reporter: michael.klein@… | Owner: ricci@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: haspatch | Port: wireshark ------------------------------------------------+--------------------------- Comment(by michael.klein@…): I guess #26293 would also work for me (haven't seen it before). May I ask why you think #26293 is preferable? IMHO both solutions have their own pros and cons. Michael -- Ticket URL: <https://trac.macports.org/ticket/26675#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26675: wireshark 1.4.0: add variant +setuid_root to install dumpcap as setuid root ------------------------------+---------------------- Reporter: michael.klein@… | Owner: ricci@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: wontfix | Keywords: haspatch Port: wireshark | ------------------------------+---------------------- Changes (by ricci@…): * status: assigned => closed * resolution: => wontfix Comment: setuid is a bad idea (tm). -- Ticket URL: <https://trac.macports.org/ticket/26675#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts