aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamav/clamav-daemon.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/clamav/clamav-daemon.pre-install')
-rw-r--r--main/clamav/clamav-daemon.pre-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/clamav/clamav-daemon.pre-install b/main/clamav/clamav-daemon.pre-install
index 59ac60a44d..201184a29f 100644
--- a/main/clamav/clamav-daemon.pre-install
+++ b/main/clamav/clamav-daemon.pre-install
@@ -1,4 +1,5 @@
#!/bin/sh
-adduser -H -s /bin/false -D clamav 2>/dev/null
+addgroup -S clamav 2>/dev/null
+adduser -S -h /var/lib/clamav -H -s /bin/false -D -G clamav clamav 2>/dev/null
exit 0