Re: run wireshark as non-root
On Wed, 13 May 2015 19:50:02 +0200, Chris Bannister wrote:
> On Sat, May 09, 2015 at 07:28:14PM +0800, mudongliang wrote:
>>
>> log out then back in again.
>> Third , I do not restart my computer , and it does not take effect!
>> I find everything is right! The group wireshark exists, my account is
>> in the group and the dumpcap(/usr/bin) is root wireshark!
>> Why I need to restart my computer?
>
> Logging out and logging back in again doesn't mean to restart your
> computer.
>
Additionally, you can use `newgrp` to log in to a new group without
having to log out and in again. See `man 1 newgrp` for details. You only
need it the first time you use your new group, since on your next login
you'll be in the group already along with all your other groups.
Since I use it so rarely, it's easy to forget (especially since I can't
help thinking that the name should mean something else) and I have to use
`apropos group` each time to find it. Hopefully posting about it will
help me to remember ☺
Reply to: