【问题标题】:su: cannot set groups operation not permitted on rhel 7su:无法在 rhel 7 上设置组操作不允许
【发布时间】:2018-12-01 08:12:54
【问题描述】:

我们错误地在 rhel 7 服务器的所有目录上执行了 chmod 777。现在我们正在尝试从其他用户执行 su root,但我们收到以下错误 su: cannot set groups: Operation not allowed

请让我知道我可以采取哪些步骤来纠正相同的问题。

【问题讨论】:

    标签: chmod rhel7 su


    【解决方案1】:
    chmod 4755 /bin/su 
    

    执行上述命令后,我能够从普通用户以 su 身份登录(在所有目录的 chmod 777 之后)。

    【讨论】:

      猜你喜欢
      • 2016-09-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-18
      • 2018-02-15
      • 1970-01-01
      相关资源
      最近更新 更多