hi all, When I issue "sudo wireshark -i eth0" on my ubuntu 12.04, a error window occur said "Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]: 45:dofile has been disabled." What does it mean and how to resolve this issue? thanks! asked 20 Mar '13, 06:26 SteveZhou edited 10 Sep '13, 04:58 grahamb ♦ |
One Answer:
it means, you shall not run Wireshark as root (for security reasons). See here:
Regards answered 20 Mar '13, 09:17 Kurt Knochner ♦ showing 5 of 6 show 1 more comments |
So with the default installation, I can capture packets as root? I need to reinstall wireshark to allow non-root users to capture packets? But I didn't find a installation process for this.
What is you OS?
From the question: Ubuntu 12.04
So the user should follow the Debian install guidelines here
ah, it's the same user. I did not check, as my answer was so old :-))
No. Just run the following command (as documented in the link I posted in my answer):
Then run Wireshark as a non root user and you should see the interfaces.
The same is true for dumpcap.
will show interfaces, if run as non root user, only after the setcap command.
really helpful, it's working! thank you so much!