I installed wireshark using YaST. When I tried to capture, I got the message:
Couldn’t run /usr/bin/dumpcap in child process: Permission denied
You need to be a member of the ‘wireshark’ group. Try running
‘usermod -a -G wireshark <YOUR_USERNAME>’ as root.
There is no wireshark group. I could create one and add myself to it. Clearly I have to give that group permissions needed to capture packages. This article describes one way of doing this in an older version of OpenSuSE:
I prefer not to reassign permissions as is described in the article since it might break something else. Is there a clean and easy way to set up wireshark to run as a non-root user?
OK, maybe the wireshark group was there. After I did the ‘usermod …’ as root, I did ‘groups’ as me and only saw “users”. But I now see ‘groups <my_user_id>’ shows “users wireshark”. I see my user id in /etc/group wireshark:x:456:<my_user_id>
I can execute dumpcap as root, but get “permission denied” as me. My ‘/usr/dumpcal’ has the same permissions as yours.