ping无法使用,会提示Socket: Permission denied,在解析的过程中会提示Temporary failure in name resolution.
usermod -G 3003 root
usermod -G 3003 kali
接着 vim /etc/passwd
下滑 找到 _apt
然后将_apt 的3004修改为3003
点击esc 输入 :wq 退出编辑模式
重启终端就能ping和apt更新了
![](https://i-blog.csdnimg.cn/blog_migrate/e397787f768b3228a259b6d57493dcdd.jpeg)
ping无法使用,会提示Socket: Permission denied,在解析的过程中会提示Temporary failure in name resolution.
usermod -G 3003 root
usermod -G 3003 kali
接着 vim /etc/passwd
下滑 找到 _apt
然后将_apt 的3004修改为3003
点击esc 输入 :wq 退出编辑模式
重启终端就能ping和apt更新了