1getsebool(8)          SELinux Command Line documentation          getsebool(8)
2
3
4

NAME

6       getsebool - get SELinux boolean value(s)
7

SYNOPSIS

9       getsebool [-a] [boolean]
10

DESCRIPTION

12       getsebool  reports whether a particular SELinux boolean, or all SELinux
13       booleans, are on or off.  In certain situations a boolean can be in one
14       state  with  a pending change to the other state. getsebool will report
15       this as a pending change.  The pending value indicates the  value  that
16       will be applied upon the next boolean commit.
17
18       The  setting  of boolean values occurs in two stages; first the pending
19       value is changed, then the booleans are committed, causing their active
20       values  to become their pending values. This allows a group of booleans
21       to be changed in a single transaction, by setting all of their  pending
22       values as desired and then committing once.
23

OPTIONS

25       -a     Show all SELinux booleans.
26

EXAMPLE

28       Show current state of httpd_can_connect_ftp
29       # getsebool httpd_can_connect_ftp
30

AUTHOR

32       This  manual  page  was  written by Dan Walsh <dwalsh@redhat.com>.  The
33       program was written by Tresys Technology.
34

SEE ALSO

36       selinux(8), setsebool(8), booleans(8)
37
38
39
40dwalsh@redhat.com                 11 Aug 2004                     getsebool(8)
Impressum