【发布时间】:2017-11-03 19:05:43
【问题描述】:
我在 ubuntu 16.04 机器上构建了 wireshark-2.4.2。构建和安装成功,没有任何警告或错误。但是在启动 wireshark 之后,我遇到了以下错误。
-
拥有root权限,
$ sudo wireshark我在 Wireshark 窗口上收到以下错误消息。
Lua: Error during loading: [string "/usr/local/share/wireshark/init.lua"]:44: dofile has been disabled due to running Wireshark as superuser. See https://wiki.wireshark.org/CaptureSetup/CapturePrivileges for help in running Wireshark as an unprivileged user. -
普通用户
$ wireshark比我收到以下错误
You don't have permission to read the file "init.lua".Error loading table 'SMI Paths': Permission deniedError loading table 'SMI Modules': Permission deniedError loading table 'GeoIP Database Paths': Permission deniedError loading table 'OID Tables': Permission deniedError loading table 'Custom BootP/DHCP Options (Excl. suboptions)': Permission deniedError loading table 'Force Decode by Channel': Permission deniedError loading table 'Decryption Table': Permission deniedError loading table 'Node bodytypes': Permission deniedError loading table 'DMP Security Classifications': Permission deniedError loading table 'DPS Security Mode Templates': Permission deniedError loading table 'DPS Session Keys': Permission deniedError loading table 'DPS Identity Secrets': Permission deniedError loading table 'DTLS RSA Keylist': Permission deniedError loading table 'Device-Specific Profiles': Permission deniedError loading table 'NodeID-Specific Profiles': Permission deniedError loading table 'ESS Category Attributes': Permission deniedError loading table 'Endpoint and Channel Configuration': Permission deniedError loading table 'Custom HTTP Header Fields': Permission deniedError loading table 'WEP and WPA Decryption Keys': Permission deniedError loading table 'Static Addresses': Permission deniedError loading table 'Keys': Permission deniedError loading table 'Custom IMF headers': Permission deniedError loading table 'ESP SAs': Permission deniedError loading table 'IKEv1 Decryption Table': Permission deniedError loading table 'IKEv2 Decryption Table': Permission deniedError loading table 'K12 Protocols': Permission deniedError loading table 'LBMPDM-TCP tag definitions': Permission deniedError loading table 'LBMR tag definitions': Permission deniedError loading table 'LBT-RM tag definitions': Permission deniedError loading table 'LBT-RU tag definitions': Permission deniedError loading table 'LBT-TCP tag definitions': Permission deniedError loading table 'Custom LDAP AttributeValue types': Permission deniedError loading table 'Static LCID -> drb Table': Permission deniedError loading table 'PDCP UE security keys': Permission deniedError loading table 'PRES Users Context List': Permission deniedError loading table 'Kind-ID Table': Permission deniedError loading table 'SCCP Users Table': Permission deniedError loading table 'Chunk types for the statistics dialog': Permission被拒绝`Error loading table 'Custom SIP Header Fields': Permission deniedError loading table 'SIP authorization users': Permission deniedError loading table 'SNMP Users': Permission deniedError loading table 'SNMP Enterprise Specific Trap Types': Permission deniedError loading table 'SSL Decrypt': Permission deniedError loading table 'NM User Data Fields Table': Permission deniedError loading table 'User DLTs Table': Permission deniedError loading table 'Bitstream Channel Table': Permission deniedError loading table 'Pre-configured Keys': Permission deniedError loading table 'ZigBee GP Security Keys': Permission deniedError loading table 'Display Filter Macros': Permission deniedError loading table 'Expert Info Severity Level Configuration': Permission deniedCan't open global preferences file "/usr/local/share/wireshark/preferences": Permission denied.Could not open global disabled protocols file "/usr/local/share/wireshark/disabled_protos": Permission denied.Could not open global enabled protocols file "/usr/local/share/wireshark/enabled_protos": Permission denied.Could not open global heuristic dissectors file "/usr/local/share/wireshark/heuristic_protos": Permission denied.Could not open your capture filter file "/usr/local/share/wireshark/cfilters": Permission denied.Could not open global filter file "/usr/local/share/wireshark/colorfilters": Permission denied.
我尝试过以下帖子但没有成功 [1]https://askubuntu.com/questions/454734/running-wireshark-lua-error-during-loading [2]https://osqa-ask.wireshark.org/questions/7976/wireshark-setup-linux-for-nonroot-user [3]https://wiki.wireshark.org/CaptureSetup/CapturePrivileges [4]https://ubuntuforums.org/archive/index.php/t-2048826.html [5]https://osqa-ask.wireshark.org/questions/42982/wireshark-1996-for-mac-osx-10103-can-t-open-preferences-file
有没有人知道发生了什么问题。
【问题讨论】:
标签: lua ubuntu-16.04 wireshark