How to disable SELinux enforcing for one daemon?
-
Get the current status of the boolean i.e. tcpd_disable_trans daemon:
# /usr/sbin/getsebool tcpd_disable_trans tcpd_disable_trans --> off
Disable enforcing mode for this particular daemon:
# /usr/sbin/setsebool tcpd_disable_trans 1
This only disables enforcing for that daemon at runtime. To make it persistent across reboots, use the -P option.
# /usr/sbin/setsebool -P tcpd_disable_trans 1
Verify:
# /usr/sbin/getsebool tcpd_disable_trans tcpd_disable_trans --> on
© Lightnetics 2024