引用“ man ls
”后显示“ ls -Z
”可以显示安全上下文:
-Z, --context
Display security context so it fits on most displays. Displays only mode, user, group, security context and file name.
执行“ ls -Z
”命令,输出如下:
[root@localhost ~]# ls -Z
-rw-------. root root system_u:object_r:admin_home_t:s0 anaconda-ks.cfg
drwxrwxrwx. root root unconfined_u:object_r:admin_home_t:s0 backup
如何理解安全上下文:unconfined_u:object_r:admin_home_t:s0
? “ man ls
”不提供信息。