Skip to content

Instantly share code, notes, and snippets.

@sk0x1234
Created January 25, 2018 06:40
Show Gist options
  • Save sk0x1234/de660b949aa6fd1f2431797b0dd8dd21 to your computer and use it in GitHub Desktop.
Save sk0x1234/de660b949aa6fd1f2431797b0dd8dd21 to your computer and use it in GitHub Desktop.
Wireshark non user arch linux
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