【问题标题】:Why is selinux blocking root from enabling iptables?为什么 selinux 阻止 root 启用 iptables?
【发布时间】:2017-02-15 20:16:52
【问题描述】:

在 CentOS 7 上以 root 身份

systemctl enable iptables

打印

Failed to execute operation: Access denied

这是audit.log中的内容截图

我认为这意味着 selinux 阻止了我,即使我是 root。此审核日志是否解释了原因?如果没有,我还应该去哪里看?

【问题讨论】:

    标签: centos selinux


    【解决方案1】:

    虽然安装了iptables,但我还需要安装iptables-servicespolicycoreutils-python

    【讨论】:

      猜你喜欢
      • 2014-09-01
      • 2011-01-14
      • 2015-02-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多