Add: ClamAV OnAcc Configuration
This commit is contained in:
@@ -73,6 +73,10 @@ cd /tmp/yay && makepkg -si
|
|||||||
printf "Installing yay packages"
|
printf "Installing yay packages"
|
||||||
yay -S ttf-ms-fonts
|
yay -S ttf-ms-fonts
|
||||||
|
|
||||||
|
printf "Configure ClamAV OnAccess"
|
||||||
|
printf "OnAccessIncludePath /home/$USERNAME/\nOnAccessIncludePath /home/$USERNAME/\nOnAccessPrevention yes\nTemporaryDirectory /clamav/tmp" | tee -a /etc/clamav/clamd.conf
|
||||||
|
sed -i '/^ExecStart=/ s/$/ --fdpass/' /etc/systemd/system/clamav-onacc.service
|
||||||
|
|
||||||
printf "Configuring users..."
|
printf "Configuring users..."
|
||||||
|
|
||||||
echo -n "root:$ROOT_PASS" | chpasswd
|
echo -n "root:$ROOT_PASS" | chpasswd
|
||||||
|
|||||||
Reference in New Issue
Block a user