cenots防火牆添加端口提示權限不足

    問題:Centos 7 Authorization failed. Make sure polkit agent is running or run the application as superuser?

image.png

    解決方法:1.切換到root用戶     

                      [cqs@centos7 ~]$ su root

                      2.使用具用root權限用戶

                     [cqs@centos7 ~]$sudo firewall-cmd --permanent --add-port=3306/tcp

image.png




                        


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章