【发布时间】:2018-12-01 08:12:54
【问题描述】:
我们错误地在 rhel 7 服务器的所有目录上执行了 chmod 777。现在我们正在尝试从其他用户执行 su root,但我们收到以下错误 su: cannot set groups: Operation not allowed。
请让我知道我可以采取哪些步骤来纠正相同的问题。
【问题讨论】:
我们错误地在 rhel 7 服务器的所有目录上执行了 chmod 777。现在我们正在尝试从其他用户执行 su root,但我们收到以下错误 su: cannot set groups: Operation not allowed。
请让我知道我可以采取哪些步骤来纠正相同的问题。
【问题讨论】:
chmod 4755 /bin/su
执行上述命令后,我能够从普通用户以 su 身份登录(在所有目录的 chmod 777 之后)。
【讨论】: