From Fedora Project Wiki

< SELinux

Revision as of 18:05, 15 August 2015 by Agajan (talk | contribs) (added category SELinux)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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...