1semanage-boolean(8) semanage-boolean(8)
2
3
4
6 semanage-boolean - SELinux Policy Management boolean tool
7
9 semanage boolean [-h] [-n] [-N] [-S STORE] [ --extract | --deleteall |
10 --list [-C] | --modify ( --on | --off ) boolean ]
11
12
14 semanage is used to configure certain elements of SELinux policy with‐
15 out requiring modification to or recompilation from policy sources.
16 semanage boolean command controls the settings of booleans in SELinux
17 policy. booleans are if-then-else rules written in SELinux Policy.
18 They can be used to customize the way that SELinux Policy rules effect
19 a confined domain.
20
22 -h, --help
23 show this help message and exit
24
25 -n, --noheading
26 Do not print heading when listing the specified object type
27
28 -N, --noreload
29 Do not reload policy after commit
30
31 -S STORE, --store STORE
32 Select an alternate SELinux Policy Store to manage
33
34 -C, --locallist
35 List local customizations
36
37 -m, --modify
38 Modify a record of the specified object type
39
40 -l, --list
41 List records of the specified object type
42
43 -E, --extract
44 Extract customizable commands, for use within a transaction
45
46 -D, --deleteall
47 Remove all local customizations
48
49 -1, --on
50 Enable the boolean
51
52 -0, --off
53 Disable the boolean
54
55
57 Turn on the apache can send mail boolan
58 # semanage boolean -m --on httpd_can_sendmail
59
60 List customized booleans
61 # semanage boolean -l -C
62
63
65 selinux(8), semanage(8), setsebool(8), getsebool(8)
66
67
69 This man page was written by Daniel Walsh <dwalsh@redhat.com>
70
71
72
73 20130617 semanage-boolean(8)