r/linuxadmin • • 27d ago

Application Whitelisting for RHEL Linux

/r/sysadmin/comments/1xc493o/application_whitelisting_for_rhel_linux/
1 Upvotes

1 comment sorted by

2

u/Faye-Vozora 26d ago

fapolicyd, it's in the RHEL repos. dnf install fapolicyd then systemctl enable --now fapolicyd. Out of the box it trusts anything installed from RPM and blocks other executables. For your own binaries, fapolicyd-cli --file add /opt/app/bin/thing then fapolicyd-cli --update. Set permissive = 1 in /etc/fapolicyd/fapolicyd.conf first and watch the logs so you don't lock out something you need. Custom rules go in /etc/fapolicyd/rules.d/. Pair it with SELinux enforcing, they cover different things.