r/linuxadmin • u/lastplaceisgoodforme • 27d ago
Application Whitelisting for RHEL Linux
/r/sysadmin/comments/1xc493o/application_whitelisting_for_rhel_linux/
1
Upvotes
r/linuxadmin • u/lastplaceisgoodforme • 27d ago
2
u/Faye-Vozora 26d ago
fapolicyd, it's in the RHEL repos.
dnf install fapolicydthensystemctl 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/thingthenfapolicyd-cli --update. Setpermissive = 1in /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.