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 wiresharksudo chown root:wireshark /usr/sbin/dumpcapsudo chmod 750 /usr/sbin/dumpcapsudo setcap cap_net_raw,cap_net_admin,cap_dac_override+eip /usr/sbin/dumpcapsudo chmod +x /usr/sbin/dumpcapsu -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):
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.