解决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