在查看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

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

可通过在   /etc/firewalld/firewalld.conf  中禁用它。在vim编辑器命令模式输入 /AllowZoneDrifting 进行搜索,然后将yes更改为no,按ESC键退出编辑模式到命令模式,输入:wq 保存退出。

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

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

 

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

 

 输入 systemctl restart firewalld 重启firewalld

再输入systemctl status firewalld 查看firewalld 的状态。成功解决警告问题!!!

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

 

 


 

相关文章:

  • 2021-09-06
  • 2022-12-23
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-15
  • 2021-08-15
  • 2021-10-10
相关资源
相似解决方案