解決Warning:allowzonedrifting is enabled.This is considered an insecure configuration option.It will be removed in a future release ... ling it now.


在查看Redhad7.6版本系統上防火牆狀態時,看到了下面的提示

Warning:allowzonedrifting is enabled.This is considered an insecure configuration option.It will be removed  in a future release ... ling it now.

 

firewall-cmd status

可通過在   /etc/firewalld/firewalld.conf  中禁用它。在vim編輯器命令模式輸入 /AllowZoneDrifting 進行搜索,然后將yes更改為no,按ESC鍵退出編輯模式到命令模式,輸入:wq 保存退出。

 

 

 輸入 systemctl restart firewalld 重啟firewalld

再輸入systemctl status firewalld 查看firewalld 的狀態。成功解決警告問題!!!

 

 


 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM