2013-10-11 12:34:44 +00:00
.TH "semanage-boolean" "8" "20130617" "" ""
.SH "NAME"
2013-11-06 12:24:01 +00:00
semanage\- boolean \- SELinux Policy Management boolean tool
2013-10-11 12:34:44 +00:00
.SH "SYNOPSIS"
2016-06-29 12:05:42 +00:00
.B semanage boolean [\-h] [\-n] [\-N] [\-S STORE] [ \- \- extract | \- \- deleteall | \- \- list [\-C] | \- \- modify ( \- \- on | \- \- off ) boolean ]
2013-10-11 12:34:44 +00:00
.SH "DESCRIPTION"
semanage is used to configure certain elements of
SELinux policy without requiring modification to or recompilation
2023-05-04 12:04:49 +00:00
from policy sources.
.B 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.
2013-10-11 12:34:44 +00:00
.SH "OPTIONS"
.TP
.I \- h, \- \- help
2023-05-04 12:04:49 +00:00
Show this help message and exit
2013-10-11 12:34:44 +00:00
.TP
.I \- n, \- \- noheading
Do not print heading when listing the specified object type
.TP
.I \- N, \- \- noreload
Do not reload policy after commit
.TP
.I \- S STORE, \- \- store STORE
Select an alternate SELinux Policy Store to manage
.TP
.I \- C, \- \- locallist
List local customizations
.TP
.I \- m, \- \- modify
Modify a record of the specified object type
.TP
.I \- l, \- \- list
List records of the specified object type
.TP
.I \- E, \- \- extract
Extract customizable commands, for use within a transaction
.TP
.I \- D, \- \- deleteall
Remove all local customizations
.TP
.I \- 1 , \- \- on
Enable the boolean
.TP
.I \- 0 , \- \- off
Disable the boolean
.SH EXAMPLE
.nf
2023-05-04 12:04:49 +00:00
Turn on the "apache can send mail" boolean (persistent version of #setsebool httpd_can_sendmail on)
2013-10-11 12:34:44 +00:00
# semanage boolean \- m \- \- on httpd_can_sendmail
List customized booleans
# semanage boolean \- l \- C
.SH "SEE ALSO"
2017-01-11 12:41:09 +00:00
.BR selinux (8),
.BR semanage (8),
.BR setsebool (8),
.BR getsebool (8)
2013-10-11 12:34:44 +00:00
.SH "AUTHOR"
This man page was written by Daniel Walsh <dwalsh@redhat.com>