Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283527 - Add setuid USE flag to tcpdump ebuild
Summary: Add setuid USE flag to tcpdump ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-02 16:00 UTC by Hank Leininger
Modified: 2010-04-02 07:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add a 'setuid' ebuild flag for tcpdump that installs it mode 4110 (tcpdump-setuid-ebuild.diff,722 bytes, patch)
2009-09-02 16:01 UTC, Hank Leininger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hank Leininger 2009-09-02 16:00:39 UTC
Requesting a setuid USE flag for tcpdump.

While I understand and appreciate not installing tcpdump setuid by default, on most systems I end up creating a group that is allowed to run tcpdump, and chgrp + chmod 4110'ing the binary.  I'd like to simply set a USE flag and forget it, rather than having to redo that after each tcpdump upgrade.

I'll upload a diff against tcpdump-4.0.1_pre20090709.ebuild that abuses group 'tcpdump' for this purpose; a separate group might be called for.
Comment 1 Hank Leininger 2009-09-02 16:01:59 UTC
Created attachment 202967 [details, diff]
Add a 'setuid' ebuild flag for tcpdump that installs it mode 4110
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2010-04-02 07:07:32 UTC
Thank you for report. Added in tcpdump-4.1.0-r1.