[RK_2014_0905]ubuntu中,wireshark启动提示:Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled

一.问题描述

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.

[RK_2014_0905]ubuntu中,wireshark启动提示:Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled

 

二.解决方法

修改/usr/share/wireshark/init.lua

# vi /usr/share/wireshark/init.lua

将倒数第二行:

dofile(DATA_DIR.."console.lua")

改为

--dofile(DATA_DIR.."console.lua")

 

三、原文网址[原文发布于2014-09-05 08:35]

http://www.cnblogs.com/tom-and-jerry/p/3957193.html 

 

【完结】

你可能感兴趣的:(wireshark)