I am trying to open Wireshark in the command prompt using sudo -i Wireshark, but it keeps telling me command not found. When I type in just Wireshark, the program will open. Any idea why I cannot open Wireshark via sudo command? asked 25 Sep '13, 13:38 Renee edited 25 Sep '13, 14:04 Kurt Knochner ♦ |
One Answer:
You write Wireshark with an uppercase W, while the binary is called wireshark. If that was just a typo in your question, what is the output of the following commands?
I suspect the binary wireshark is not in the search path of the root user. BTW: You should not run Wireshark as root. See here: http://wiki.wireshark.org/CaptureSetup/CapturePrivileges If you don't see any interfaces as non-root, please run the following command (on Linux):
Please adjust the path, if dumpcap is not installed to /usr/bin. Regards answered 25 Sep '13, 14:01 Kurt Knochner ♦ edited 25 Sep '13, 15:14 |