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

时间:2020-06-20 11:51:39   收藏:0   阅读:2252

在查看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 的状态。成功解决警告问题!!!

技术分享图片

 

 


 

原文:https://www.cnblogs.com/LinQingYang/p/13167803.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!