harrisonsp / forensics

Descriptions of useful cyber forensics tools
6 stars 1 forks source link

Install Wireshark #5

Open harrisonsp opened 7 years ago

harrisonsp commented 7 years ago

sudo apt-get install wireshark

Important Note: Resource to install and run wireshark, but not as root, having created a new "admin" user with superuser privileges. Add the privileges/group as the new user.

https://www.linkedin.com/pulse/20140502074357-79939846-adding-a-new-user-in-kali-linux

https://bigdanzblog.wordpress.com/2014/11/15/getting-wireshark-to-run-on-raspberry-pi-with-vnc/

http://www.thegeeky.space/2013/12/how-to-run-wireshark-for-non-root-user-on-linux-debian-ubuntu.html

harrisonsp commented 7 years ago

Don't allow superusers during installation, then add the users as described ^^

harrisonsp commented 7 years ago

This is what needs to be done to configure Wireshark for use with the new user.

sudo chgrp <yourUserId> /usr/bin/dumpcap
sudo chmod 750 /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin+eip /usr/bin/dumpcap