diff --git a/roles/rkhunter/templates/rkhunter.conf.j2 b/roles/rkhunter/templates/rkhunter.conf.j2 index 1f8158a35a..35977de966 100644 --- a/roles/rkhunter/templates/rkhunter.conf.j2 +++ b/roles/rkhunter/templates/rkhunter.conf.j2 @@ -402,6 +402,9 @@ ALLOWDEVFILE=/dev/shm/libpod_* ALLOWDEVFILE=/dev/shm/PostgreSQL* {% endif %} +{% if inventory_hostname in groups['proxies'] or inventory_hostname in groups['proxies_stg'] %} +ALLOWDEVFILE=/dev/shm/ShM.* +{% endif %} # # This setting tells rkhunter where the inetd configuration # file is located.