[CentOS] Reset booleans to default value ?

Fri Aug 7 18:23:18 UTC 2020
Nicolas Kovacs <info at microlinux.fr>

Hi,

Here's a list of all the booleans I tweaked on my server running CentOS 7:

$ sudo cat /etc/selinux/targeted/active/booleans.local
# This file is auto-generated by libsemanage
# Do not edit directly.

named_write_master_zones=0
httpd_can_sendmail=1
httpd_unified=1
ftpd_full_access=1
httpd_can_network_connect=1
spamd_enable_home_dirs=1

How can I "reset" (in a manner of speaking) these booleans to their default
value post-install?

Ideally, the booleans.local file should be empty, but since it's
auto-generated, there's not much sense in simply erasing it.

Curiously enough, I didn't find any information about this.

Cheers,

Niki
-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : info at microlinux.fr
Tél. : 04 66 63 10 32
Mob. : 06 51 80 12 12