getsebool(8)         SELinux Command Line documentation         getsebool(8)

NAME         top

       getsebool - get SELinux boolean value(s)

SYNOPSIS         top

       getsebool [-a] [boolean]

DESCRIPTION         top

       getsebool reports where a particular SELinux boolean or all SELinux
       booleans are on or off In certain situations a boolean can be in one
       state with a pending change to the other state.  getsebool will
       report this as a pending change.  The pending value indicates the
       value that will be applied upon the next boolean commit.

       The setting of boolean values occurs in two stages; first the pending
       value is changed, then the booleans are committed, causing their
       active values to become their pending values.  This allows a group of
       booleans to be changed in a single transaction, by setting all of
       their pending values as desired and then committing once.

OPTIONS         top

       -a     Show all SELinux booleans.

AUTHOR         top

       This manual page was written by Dan Walsh <>.  The
       program was written by Tresys Technology.

SEE ALSO         top

       selinux(8), setsebool(8), booleans(8)

COLOPHON         top

       This page is part of the selinux (Security-Enhanced Linux user-space
       libraries and tools) project.  Information about the project can be
       found at ⟨⟩.  If you
       have a bug report for this manual page, see 
       ⟨⟩.  This
       page was obtained from the project's upstream Git repository 
       ⟨⟩ on 2017-09-15.  If you
       discover any rendering problems in this HTML version of the page, or
       you believe there is a better or more up-to-date source for the page,
       or you have corrections or improvements to the information in this
       COLOPHON (which is not part of the original manual page), send a mail
       to                11 Aug 2004                    getsebool(8)

Pages that refer to this page: security_load_booleans(3)booleans(8)semanage-boolean(8)togglesebool(8)