blob: 1282d10626ffca0316c954bdb67d58182908972e [file] [log] [blame]
Dan Walsh1925e1e2013-10-11 08:34:44 -04001.TH "semanage-boolean" "8" "20130617" "" ""
2.SH "NAME"
Laurent Bigonville2e938332013-11-06 13:24:01 +01003semanage\-boolean \- SELinux Policy Management boolean tool
Dan Walsh1925e1e2013-10-11 08:34:44 -04004.SH "SYNOPSIS"
Petr Lautrbach03e87ff2016-06-29 14:05:42 +02005.B semanage boolean [\-h] [\-n] [\-N] [\-S STORE] [ \-\-extract | \-\-deleteall | \-\-list [\-C] | \-\-modify ( \-\-on | \-\-off ) boolean ]
Dan Walsh1925e1e2013-10-11 08:34:44 -04006
7.SH "DESCRIPTION"
8semanage is used to configure certain elements of
9SELinux policy without requiring modification to or recompilation
10from policy sources. semanage boolean command controls the settings of booleans in SELinux policy. booleans are if\-then\-else rules written in SELinux Policy. They can be used to customize the way that SELinux Policy rules effect a confined domain.
11.SH "OPTIONS"
12.TP
13.I \-h, \-\-help
14show this help message and exit
15.TP
16.I \-n, \-\-noheading
17Do not print heading when listing the specified object type
18.TP
19.I \-N, \-\-noreload
20Do not reload policy after commit
21.TP
22.I \-S STORE, \-\-store STORE
23Select an alternate SELinux Policy Store to manage
24.TP
25.I \-C, \-\-locallist
26List local customizations
27.TP
28.I \-m, \-\-modify
29Modify a record of the specified object type
30.TP
31.I \-l, \-\-list
32List records of the specified object type
33.TP
34.I \-E, \-\-extract
35Extract customizable commands, for use within a transaction
36.TP
37.I \-D, \-\-deleteall
38Remove all local customizations
39.TP
40.I \-1, \-\-on
41Enable the boolean
42.TP
43.I \-0, \-\-off
44Disable the boolean
45
46.SH EXAMPLE
47.nf
Petr Lautrbachf46b64f2019-04-04 23:16:52 +020048Turn on the apache can send mail boolean
Dan Walsh1925e1e2013-10-11 08:34:44 -040049# semanage boolean \-m \-\-on httpd_can_sendmail
50
51List customized booleans
52# semanage boolean \-l \-C
53
54.SH "SEE ALSO"
Alan Jenkins62f05892017-01-11 12:41:09 +000055.BR selinux (8),
56.BR semanage (8),
57.BR setsebool (8),
58.BR getsebool (8)
Dan Walsh1925e1e2013-10-11 08:34:44 -040059
60.SH "AUTHOR"
61This man page was written by Daniel Walsh <dwalsh@redhat.com>