3.3. SELinux Contexts for Users
Use the id -Z
command to view the SELinux context associated with your Linux user:
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
In Red Hat Enterprise Linux, Linux users run unconfined by default. This SELinux context shows that the Linux user is mapped to the SELinux unconfined_u
user, running as the unconfined_r
role, and is running in the unconfined_t
domain. s0-s0
is an MLS range, which in this case, is the same as just s0
. The categories the user has access to is defined by c0.c1023
, which is all categories (c0
through to c1023
).