[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

run wireshark as non-root



First,My version of wireshark is Version 1.12.1 (Git Rev Unknown from
unknown),I search it in the debian packages of Jessie , the version is
right , but the content of brackets is out of my understanding! 

Second, I want to run wireshark as non-root ! So I search it in
Google ,the webpage
(http://blog.binarymist.net/2013/04/13/running-wireshark-as-non-root-user/)
tells me do the following procedure :

1.from your console:
  sudo dpkg-reconfigure wireshark-common
You’ll be prompted: Configuring wireshark-common

2.Respond yes.
The wireshark group will be added

The help text also warns about a security risk which isn’t an issue
because setuid isn’t used. Rather what actually happens is the
following:
addgroup --quiet --system wireshark
chown root:wireshark /usr/bin/dumpcap
setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap

3.You will then have to manually add your user to the wireshark group.
sudo adduser kim wireshark # replacing kim with your user
or
usermod -a -G wireshark kim # replacing kim with your user

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?
And is the procedure above right or suitable for Debian Jessie???

mudongliang 


Reply to: