2.3. 用户的 SELinux 上下文
使用以下命令查看与您的 Linux 用户关联的 SELinux 上下文:
id -Z
~]$ id -Z
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
在 Red Hat Enterprise Linux 中,Linux 用户默认运行无限。这个 SELinux 上下文显示,Linux 用户映射到 SELinux
unconfined_u 用户,作为 unconfined_r 角色运行,并在 unconfined_t 域中运行。s0-s0 是一个 MLS 范围,本例中与 s0 相同。用户有权访问的类别由 c0.c1023 定义,它是所有类别(c0 到 c1023)。