redhat linux sudo su - 失败
redhat linux sudo su - failed
我无法再执行 sudo su - 来获得 root 身份验证。我以测试用户身份登录。我将测试从 unconfined_u 映射到 SElinux 用户 staff_u。我在 google 云上重新启动了虚拟机。我可以以测试用户身份登录 vm,但如果我执行 sudo su -,我会收到以下错误:
su: avc.c:74: avc_context_to_sid_raw: 断言“avc_running”失败。
中止
这似乎是 CentOS 和 Redhat 的一个已知错误:
0011249: su: avc.c:74: avc_context_to_sid_raw: Assertion `avc_running'
failed.
Description Whenever I execute a su - command after switching
into the sysadm_r, I get this fault. The system is in enforcing mode
when I get this error. When in permissive mode, this does trigger the
error. Attempted to address the problem with audit2allow to see if
that could temporarily resolved the problem while I looked for a
permanent solution but that did not work either
有2个参考:
我无法再执行 sudo su - 来获得 root 身份验证。我以测试用户身份登录。我将测试从 unconfined_u 映射到 SElinux 用户 staff_u。我在 google 云上重新启动了虚拟机。我可以以测试用户身份登录 vm,但如果我执行 sudo su -,我会收到以下错误:
su: avc.c:74: avc_context_to_sid_raw: 断言“avc_running”失败。 中止
这似乎是 CentOS 和 Redhat 的一个已知错误:
0011249: su: avc.c:74: avc_context_to_sid_raw: Assertion `avc_running' failed.
Description Whenever I execute a su - command after switching into the sysadm_r, I get this fault. The system is in enforcing mode when I get this error. When in permissive mode, this does trigger the error. Attempted to address the problem with audit2allow to see if that could temporarily resolved the problem while I looked for a permanent solution but that did not work either
有2个参考: