Customize SELinux Enforcing Mode Policies
Security-Enhanced Linux (SELinux) enforcing mode policies require customization to interact with Tenable Nessus.
Tenable Support does not assist with customizing SELinux policies, but Tenable recommends monitoring your SELinux logs to identify errors and solutions for your policy configuration.
Before you begin:
- Install the SELinux sealert tool in a test environment that resembles your production environment.
To monitor your SELinux logs to identify errors and solutions:
-
Run the sealert tool, where /var/log/audit/audit.log is the location of your SELinux audit log:
sealert -a /var/log/audit/audit.log
The tool runs and generates a summary of error alerts and solutions. For example:
SELinux is preventing /usr/sbin/sshd from write access on the sock_file /dev/log
SELinux is preventing /usr/libexec/postfix/pickup from using the rlimitinh access on a process.
- Execute the recommended solution for each error alert.
-
Restart Tenable Nessus.
- Run the sealert tool again to confirm you resolved the error alerts.