![]() General caveat, I haven't dug any deeper into wireshark's lua scripts. I've never scripted with lua personally and am not sure if variables defined in a are available in other scripts You shouldn't get an error and should be able to choose your interface and begin monitoring. If running_superuser and not run_user_scripts_when_superuser thenĪfterwards, close wireshark and reopen it. Next find the conditional right after that starts with "if running_superuser then" and change it to: In the editor, find the "run_user_scripts_when_super_user = false" declaration just above line 44 and change it to: If you get that message, do the $ vim /usr/share/wireshark/a Make sure you get an error message complaining about lua, root and an a file. Here's how to fix if you really want to run as root.įirst, open wireshark as gui (click icon). It's possible to run wireshark as root (there's a reason not to, but if you really want to, it's your call). For additional help or useful information, we recommend you check the official Wireshark website.Yeah, I thought differently but I just tried to run it and got the superuser/lua error you were referring to. Thanks for using this tutorial for installing Wireshark on your Rocky Linux 9 system. ![]() If the installation is successful, the Wireshark graphical user interface will launch.Ĭongratulations! You have successfully installed Wireshark. Once the installation is complete, you can launch the Wireshark client from the applications menu or by running the following command in the terminal: wireshark This command grants necessary permissions to the dumpcap binary, allowing it to be executed by non-root users. Run the following command to enable non-root users to capture packets: sudo setcap cap_net_raw,cap_net_admin=eip /usr/local/bin/dumpcap However, it is recommended to configure it to allow non-root users to utilize its capabilities without compromising system security. Configuring Wireshark for Non-Root Users.īy default, Wireshark requires root privileges to capture network traffic. The make command will compile the Wireshark source code, and make install will install it onto your system. The configure script will check for any missing dependencies and configure the build environment accordingly. Execute the following commands: tar xvf wireshark-*.tar.xz Select the stable version suitable for your system and copy the download link:Īfter the download is complete, we can proceed with the compilation and installation process. Visit the official Wireshark website and navigate to the Downloads section. Now we download the Wireshark source code. Installing Wireshark on Rocky Linux 9.īy default, Wireshark is not available on Rocky Linux 9 base repository. Open the terminal on your Rocky Linux system and execute the following commands: sudo dnf install qt5-qtbase-devel Wireshark has certain dependencies that need to be installed beforehand. To do so, run the following commands: sudo dnf check-update The first step is to update your system to the latest version of the package list. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root. A non-root sudo useror access to the root user.You’ll need an internet connection to download the necessary packages and dependencies for Wireshark and sufficient disk space available for the installation. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |