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


猜你喜欢

转载自www.cnblogs.com/LinQingYang/p/13167803.html
今日推荐