Created
January 25, 2018 06:40
-
-
Save sk0x1234/de660b949aa6fd1f2431797b0dd8dd21 to your computer and use it in GitHub Desktop.
Wireshark non user arch linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install setcap command. | |
#setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/sbin/dumpcap | |
>su | |
#chown root /usr/sbin/dumpcap | |
#chmod u+s /usr/bin/dumpcap | |
Limiting capture permission to only one group | |
After having set dumpcap's network privileges: | |
Create user "wireshark" in group "wireshark". | |
#chgrp wireshark /usr/sbin/dumpcap | |
#chmod o-rx /usr/sbin/dumpcap | |
>sudo usermod -a -G wireshark windy | |
logout and login |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment