Ask Your Question
0

Can't user wireshark after adding to group and logging out

asked 2017-06-21 07:12:00 -0500

godofgrunts gravatar image

updated 2017-06-21 09:35:53 -0500

$ uname -srvm
Linux 4.11.5-200.fc25.x86_64 #1 SMP Wed Jun 14 17:17:29 UTC 2017 x86_64

$ tshark --version
TShark (Wireshark) 2.2.6 (wireshark-2.2.6)

$ groups myuser
myuser: myuser wheel wireshark

$ whoami
myuser

$ tshark
tshark: Couldnt 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.

I have already logged out and logged back on.

EDIT:

$ groups
myuser wheel

It seems logging out of gnome doesn't work.

EDIT2:

After a reboot. Wireshark now works correctly...

edit retag flag offensive close merge delete

Comments

Strange.

$groups
myuser wheel

Guess I'll reboot. I wonder why logging out of gnome doesn't fix this.

godofgrunts gravatar imagegodofgrunts ( 2017-06-21 09:30:41 -0500 )edit

Feel free to provide the (correct) answer to your question. (This forum does not encourage people to add a [SOLVED] in the topic). Thx

florian gravatar imageflorian ( 2017-06-21 11:22:10 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-06-21 08:48:54 -0500

muep gravatar image

updated 2017-06-21 13:15:16 -0500

(This was originally a comment that was converted to answer to avoid having this question in list of unanswered items)

Please provide also output of groups without your username as a parameter. If this differs from output of groups myuser, you may still be missing a logout/login cycle.

It turned out that even a full reboot was needed before the group change got fully in effect.

edit flag offensive delete link more

Comments

1

Logging out of gnome and logging back in was not suffiecent. After a reboot,

$ groups
myuser wheel wireshark

and I was able to launch wireshark without root.

Thanks to muep for helping me out.

godofgrunts gravatar imagegodofgrunts ( 2017-06-21 09:38:19 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-06-21 07:11:14 -0500

Seen: 627 times

Last updated: Jun 21 '17