From Fedora Project Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Core Utilities

"Z" is your friend...

When I took over maintenance of the SELinux userspace I settled on to using "Z" as the universal option to show security context.

So "ps auxZ" will show you the security context of all processes. "ls -Z" will show you the security context of files. "id -Z" will show you the security context of your login shell.

So if you think an application might be SELinux aware try the -Z option...