一.问题描述
PC机安装ubuntu14.04,使用root用户登陆。
启动wireshark时,出现一下的Error对话框:
Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled due to running Wireshark as superuser.
二.解决方法
修改/usr/share/wireshark/init.lua
# vi /usr/share/wireshark/init.lua
将倒数第二行:
dofile(DATA_DIR.."console.lua")
改为
--dofile(DATA_DIR.."console.lua")
时间: 2024-10-06 02:53:01