Skip to content

Commit 3fc744d

Browse files
authored
TCR-653: add documentation about how to apply SELinux configuration on Imunify-AV installation
1 parent 02cf1a8 commit 3fc744d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/imunifyav/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,30 @@ imunify-antivirus register YOUR_KEY
136136

137137
Where `YOUR_KEY` is your activation key or IPL in case of IP-based license.
138138

139+
### SELinux support
140+
141+
If SELinux (Security-Enhanced Linux) is enabled on your server, you should install the Imunify360 SELinux policy module. You can check SELinux status by `sestatus` command. Policy is shipped with Imunify360 package and is located in the <span class="notranslate">`/var/imunify360/imunify-antivirus.te`</span>
142+
143+
To apply it, run the following commands:
144+
145+
<div class="notranslate">
146+
147+
```
148+
checkmodule -M -m -o /var/imunify360/imunify-antivirus.mod /var/imunify360/imunify-antivirus.te
149+
semodule_package -o /var/imunify360/imunify-antivirus.pp -m /var/imunify360/imunify-antivirus.mod
150+
semodule -i /var/imunify360/imunify-antivirus.pp
151+
```
152+
</div>
153+
154+
After that, restart the `imunify-notifier` service:
155+
<div class="notranslate">
156+
157+
```
158+
systemctl restart imunify-notifier
159+
```
160+
161+
</div>
162+
139163
### Update Instructions
140164

141165
To upgrade ImunifyAV, run the command:

0 commit comments

Comments
 (0)