Categorie

Posted on in How-To and Troubleshooting | 0 Comments

How to configure Wireshark under Fedora linux

How to configure Wireshark under Fedora linux

In order to run Wireshark on Fedora linux as normal user, open a terminal and run the following commands:

su -c ‘yum install wireshark’
su –c ‘usermod -a -G wireshark YourUserName‘ (replacing YourUserName with your current user name!)
newgrp wireshark
sudo chown root:wireshark /usr/sbin/dumpcap
sudo chmod 750 /usr/sbin/dumpcap
sudo setcap cap_net_raw,cap_net_admin,cap_dac_override+eip /usr/sbin/dumpcap
sudo chmod +x /usr/sbin/dumpcap
su -c ‘rm -r /tmp/.X11-unix /tmp/.ICE-unix /tmp/.X0-lock’

Now launch wireshark from terminal (if everything went right, no error box will show up):

wireshark

Remember that skipping the above procedure just launching wireshark in root mode is really unsafe.

This method applies to the following issues:

1. Couldn’t run /usr/sbin/dumpcap in child process: Permission denied Are you a member of the ‘wireshark’ group? Try running ‘usermod -a -G wireshark _your_username_’ as root.

2. Running as user “root” and group “root”. This could be dangerous.

0 Comments

Post a Reply

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *

Indica su quali commenti vuoi essere aggiornato via email.

Pin It on Pinterest

Shares

Condividi / Share: