Debian Codegraph @

libselinux/man/man8/booleans.8

raw
1 .TH "booleans" "8" "11 Aug 2004" "[email protected]" "SELinux Command Line documentation"
2 .SH "NAME"
3 booleans \- Policy booleans enable runtime customization of SELinux policy
4 .
5 .SH "DESCRIPTION"
6 This manual page describes SELinux policy booleans.
7 .BR
8 The SELinux policy can include conditional rules that are enabled or
9 disabled based on the current values of a set of policy booleans.
10 These policy booleans allow runtime modification of the security
11 policy without having to load a new policy.
12
13 For example, the boolean httpd_enable_cgi allows the httpd daemon to
14 run cgi scripts if it is enabled. If the administrator does not want
15 to allow execution of cgi scripts, he can simply disable this boolean
16 value.
17
18 The policy defines a default value for each boolean, typically false.
19 These default values can be overridden via local settings created via the
20 .BR setsebool (8)
21 utility, using
22 .B \-P
23 to make the setting persistent across reboots. The
24 .B system\-config\-securitylevel
25 tool provides a graphical interface for altering
26 the settings. The
27 .BR load_policy (8)
28 program will preserve
29 current boolean settings upon a policy reload by default, or can
30 optionally reset booleans to the boot-time defaults via the
31 .B \-b
32 option.
33
34 Boolean values can be listed by using the
35 .BR getsebool (8)
36 utility and passing it the
37 .B \-a
38 option.
39
40 Boolean values can also be changed at runtime via the
41 .BR setsebool (8)
42 utility or the
43 .BR togglesebool (8)
44 utility. By default, these utilities only change the
45 current boolean value and do not affect the persistent settings,
46 unless the
47 .B \-P
48 option is used to setsebool.
49 .
50 .SH AUTHOR
51 This manual page was written by Dan Walsh <[email protected]>.
52 The SELinux conditional policy support was developed by Tresys Technology.
53 .
54 .SH "SEE ALSO"
55 .BR getsebool (8),
56 .BR setsebool (8),
57 .BR selinux (8),
58 .BR togglesebool (8)