Author Topic: [SOLVED] wireshark need root?  (Read 4161 times)

chi1i4n

  • Newbie
  • *
  • Posts: 9
    • View Profile
on: November 27, 2014, 05:29:14 AM
wireshark with no-root only can show bluetooth , no wlan0 and eth0
then..  i remember ettercap needs root and it can show wlan0
so i run sudo wiresark and  it works  
but when it starts , wireshark show this

Lua: Error during loading:
 [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled due to running Wireshark as superuser. See http://wiki.wireshark.org/CaptureSetup/CapturePrivileges for help in running Wireshark as an unprivileged user.

and..

Running as user "root" and group "root".
This could be dangerous.

If you're running Wireshark this way in order to perform live capture, you may want to be aware that there is a better way documented at
/usr/share/doc/wireshark-common/README.Debian

and...
[sudo] password for yushao:

(wireshark:26573): IBUS-WARNING **: The owner of /home/yushao/.config/ibus/bus is not root!


« Last Edit: January 30, 2015, 09:23:18 AM by drego85 »



ZEROF

  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
    • Pen Tester
Reply #1 on: November 27, 2014, 06:40:33 AM
Sometimes just search forum:

http://forum.backbox.org/howtos/running-wireshark-with-sudo-or-gksudo-(fix)-!/

And learn how to read errors. 2nd error is just setting of permission, that is basic Linux stuff, if you can do that, maybe Linux is not for you.
« Last Edit: November 27, 2014, 06:42:22 AM by ZEROF »


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


drego85

  • Global Moderator
  • Full Member
  • *****
  • Posts: 128
    • View Profile
    • Andrea Draghetti
Reply #2 on: November 28, 2014, 04:19:28 PM

Andrea Draghetti
Personal Blog


ZEROF

  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
    • Pen Tester
Reply #3 on: November 28, 2014, 11:36:34 PM
Lol, thanks drego85 :)


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*