ubuntu-wireshark打开出现错误的问题
2024-10-20 03:41:11
The capture session could not be initiated on interface 'enp2s0' (You don't have permission to capture on that device). Please check to make sure you have sufficient permissions. On Debian and Debian derivatives such as Ubuntu, if you have installed Wireshark from a package, try running sudo dpkg-reconfigure wireshark-common selecting "<Yes>" in response to the question Should non-superusers be able to capture packets? adding yourself to the "wireshark" group by running sudo usermod -a -G wireshark {your username} and then logging out and logging back in again.
解决办法:
suguihua@suguihua-OptiPlex-3080:~/下载$ sudo groupadd wireshark
[sudo] suguihua 的密码:
suguihua@suguihua-OptiPlex-3080:~/下载$ sudo chgrp wireshark /usr/bin/dumpcap
suguihua@suguihua-OptiPlex-3080:~/下载$ sudo chmod 4755 /usr/bin/dumpcap
suguihua@suguihua-OptiPlex-3080:~/下载$ sudo gpasswd -a suguihua wireshark
正在将用户“suguihua”加入到“wireshark”组中
之后就可以愉快的抓包了
最新文章
- Leetcode: Optimal Account Balancing
- Informatica相同环境与不同环境的导入导出( Repository Name,Integration Service Name,Folder Name是否相同):
- QQ屠龙转世-挖矿
- jquery检测浏览器版本
- java变量和方法的覆盖和隐藏(翻译自Java Tutorials)
- ssl配置
- perl 获取虚拟机信息
- 【HDOJ】2888 Check Corners
- QT-Creator C/C++ 打地鼠小游戏
- ssm框架理解
- 关于 String 自我理解
- shim &; polyfill
- 接口Set
- Pandas聚合
- [osg][osgEarth][原]基于OE自定义自由飞行漫游器(第二版)
- MySQL 之 MyTop实时监控MySQL
- 10.18号java课后作业代码
- Java单元测试框架 JUnit
- Jquery中";$(document).ready(function(){ })";函数的使用详解
- java小技巧-生成重复的字符
热门文章
- C#神器";BlockingCollection";类实现C#神仙操作
- Postgresql 锁等待检测及处理
- webgl 系列 —— 绘制一个点(版本2、版本3、版本4、版本5)
- 爆肝200+小时,总结出的 Creator 3.x 入门修炼指南!全免费
- RuntimeError: CUDA error: device-side assert triggered
- 1223. 掷骰子模拟 (Hard)
- 03-python基本数据类型详解
- Ubuntu磁盘查看分区和挂载
- kafka数据顺序一致
- JVM(一) --- 什么是JVM