Sunday, April 28, 2024
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 3253  / 1 Year ago, thu, november 17, 2022, 12:03:03

When I run the the following command in a terminal I get different output.
I try to find out if I am a member of the Wireshark group.



groups $USER


Does list wireshark



groups


Does not list wireshark



So do I belong to the Wireshark group or not?


More From » command-line

 Answers
3

You haven't restarted per the instructions on that answer.




  • groups is shows groups as currently applied to your user

  • groups $USER is asking the system to calculate the groups for that user.



This isn't a case of "trusting" one over the other. They show pointedly different things.



Groups are applied to a user when they log in. That's why my instructions are to restart or log out then in again. This makes the system apply the new group and thus allows you to use Wireshark.


[#25518] Friday, November 18, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
quivedge

Total Points: 223
Total Questions: 116
Total Answers: 124

Location: Slovenia
Member since Wed, Apr 6, 2022
2 Years ago
;