Wireshark mailing list archives

Disable wireshark root user warning


From: Mathieu Tarral via Wireshark-users <wireshark-users () wireshark org>
Date: Mon, 25 Jun 2018 12:09:23 -0400

Hi,

I'm running into a small issue with tshark, because i'm using it as root inside a Docker container, to transform a PCAP 
into a JSON output:
tshark -r file.pcap -T json

However, because of the warning printed by tshark at the beginning of the file,
("Running as user "root" and group "root". This could be dangerous." and
"dofile has been disabled due to running Wireshark as superuser")
the JSON file is invalid.

Is there a way to disable these messages ?
refactoring my container to use a non-root user will be a lot of work.

Thanks !
​--
Mathieu Tarral
Sent with ProtonMail Secure Email.​
___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe

Current thread: