SELinux – Listing Available Contexts

As you know, I’ve been studying for the RHCE exam. One of the things that I was unsure about with SELinux was how to find all the available contexts. It’s easy to find booleans with the ‘getsebool’ command, but what about a context?

There are TONS of contexts. Today, I found my answer. It’s the ‘seinfo’ command.

 

Share on FacebookTweet about this on TwitterShare on LinkedInShare on RedditEmail this to someone

October 29, 2012

Posted In: Linux, RHCE Study Notes, SELinux