Lua: Error during loading: [string “/usr/share/wireshark/init.lua”]:45: dofile has been disabled

Run as user “root” and group “root”. This can be dangerous.
tshark: Lua:Error loading:[string
” /usr/local/share/wireshark/init]lua”]:44: dofile has been disabled
due to running Wireshark as superuser. See also
Running Wireshark as an unprivileged user
https://wiki.wireshark.org/CaptureSetup/CapturePrivileges
Confirm that lua is supported by wireshark, and also use the find command to locate init.lua.
Make sure that disable_lua = false in the init. lua file.

Read More: