-
Bug
-
Resolution: Unresolved
-
Major
-
rhel-9.2.0
-
None
-
Moderate
-
1
-
rhel-sst-security-selinux
-
ssg_security
-
3
-
False
-
-
None
-
CY24Q2
-
None
-
None
-
If docs needed, set a value
-
-
All
-
None
Description of problem:
On my freshly setup MLS system, I can see that logging in as root through ssh ends up getting "staff_t" context:
~~~
-bash: /root/.bash_profile: Permission denied
[root@vm-mls9 ~]# id -Z
root:staff_r:staff_t:s0-s15:c0.c1023
~~~
Version-Release number of selected component (if applicable):
selinux-policy-mls-38.1.11-2.el9_2.3.noarch
How reproducible:
Always
Additional info:
Our doc [1] states the context should be sysadm_t (hence we cannot login without the boolean) but apparently there is some bug here.
Important note:
[...]
Also note that in MLS, SSH logins as the root user mapped to the sysadm_r SELinux role differ from logging in as root in staff_r.
~~~