semanage Verified current stable Not installed?

Semanage / List Permissive Domains Linux

List Permissive Domains Linux

Use 'sudo semanage permissive -l' to list all permissive domains in SELinux on Linux systems.

$
Terminal
sudo semanage permissive -l

When To Use

You need to check which SELinux domains are set to permissive mode.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
sudo semanage permissive -l

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
Permissive domains:

  httpd_t
  sshd_t
  user_t

Command Breakdown

What each part is doing

sudo
Base Command
The executable that performs this operation. Here it runs Semanage before the shell applies any redirect operators.
-l
l| list
The value supplied for l| list.
-l
Command Option
Tool-specific option used by this command invocation.

How To Run

Execution path

  1. Step 1

    Open a terminal on your Linux system.

  2. Step 2

    Run the command: sudo semanage permissive -l.

  3. Step 3

    Review the list of permissive domains displayed in the terminal.

Alternative Approaches

Comparable commands in other tools

Alternative tools that share the "inspect" operation intent.