User Tools

Site Tools


ubuntu:selinux:configuring_selinux_to_log_warnings_instead_of_block

Ubuntu - SELinux - Configuring SELinux to log warnings instead of block

You can also configure SELinux to give you a warning message instead of actually prohibiting the action.

This known as permissive mode.

To change SELinux's behavior to permissive mode you need to edit the configuration file.

On Fedora and RHEL systems that file is located at /etc/selinux/config.

You need to change the SELINUX option to permissive like so:

/etc/selinux/config
SELINUX=permissive

Note that these changes will not take effect until the system is rebooted, which is why the first section comes in handy on a system you either cannot or do not want to reboot right now.

ubuntu/selinux/configuring_selinux_to_log_warnings_instead_of_block.txt · Last modified: 2020/07/15 10:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki