From the course: Linux: Firewalls and SELinux

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Running sepolicy

Running sepolicy - Linux Tutorial

From the course: Linux: Firewalls and SELinux

Start my 1-month free trial

Running sepolicy

- [Narrator] The sepolicy utility provides a suite of features to query the installed SELinux policy. The suite allows you to generate transition reports, man pages, and do policy modules. This gives users easier access to a better understanding of the SELinux policy. The policycoreutils dash devel package is what provides sepolicy and if you hadn't installed that earlier in the course, we would need to install that now, but we have already installed it 'cuz we've already used it a couple of times. We installed it earlier in the course so we could generate all the SELinux man pages we wanted on our last test system for extended reading. But we've also looked at booleans and other things. So let's take a look at the man page for sepolicy together right now. Go ahead and type man space sepolicy, and you'll see here you've got a list of arguments that are available and those are fairly useful things. I wanted to just talk about these different arguments, and what they each do. Booleans…

Contents