First add your user to the wheel group:
dscl . append /Groups/wheel GroupMembership 'username'
The run this command:
sudo chmod g+rw /dev/bpf*; open /Applications/Wireshark.app
I added that command to my .profile file as an alias for convenience:
alias wireshark='sudo chmod g+rw /dev/bpf*; open /Applications/Wireshark.app'
No comments:
Post a Comment