public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/5] clamav: Change user/group to clamav
@ 2023-02-14  8:15 Stefan Schantl
  2023-02-14  8:15 ` [PATCH 2/5] clamav: Add config files for clamd and freshclam Stefan Schantl
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stefan Schantl @ 2023-02-14  8:15 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

This user/group is now used by the clamav daemon and freshclam.

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 clamav/clamav.nm | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/clamav/clamav.nm b/clamav/clamav.nm
index f941bc6b9..87b03272f 100644
--- a/clamav/clamav.nm
+++ b/clamav/clamav.nm
@@ -5,7 +5,7 @@
 
 name       = clamav
 version    = 0.103.7
-release    = 2
+release    = 3
 
 groups     = System Environment/Daemons
 url        = https://www.clamav.net
@@ -64,16 +64,10 @@ build
 end
 
 create_users
-	# Create user and group for clamupdate.
-	getent group clamupdate || groupadd -g 497 -r clamupdate || :
-	getent passwd clamupdate || useradd -u 497 -r -s /sbin/nologin \
-		-d /var/lib/clamav -M -c 'Clamav database update user' \
-		-g clamupdate clamupdate || :
-
-	# Create user and group for clamscan.
-	getent group clamscan || groupadd -g 496 -r clamscan || :
-	getent passwd clamscan || useradd -u 496 -r -s /sbin/nologin \
-		-d / -M -g clamscan clamscan || :
+	# Create user and group for clamav.
+	getent group clamav || groupadd -g 496 -r clamav || :
+	getent passwd clamav || useradd -u 496 -r -s /sbin/nologin \
+		-d / -M -g clamav clamav || :
 end
 
 packages
-- 
2.30.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-02-14  8:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-14  8:15 [PATCH 1/5] clamav: Change user/group to clamav Stefan Schantl
2023-02-14  8:15 ` [PATCH 2/5] clamav: Add config files for clamd and freshclam Stefan Schantl
2023-02-14  8:15 ` [PATCH 3/5] clamav: Drop clamav-databse subpackage Stefan Schantl
2023-02-14  8:15 ` [PATCH 4/5] clamav-databases: New package Stefan Schantl
2023-02-14  8:15 ` [PATCH 5/5] clamav: Silence output during user creation Stefan Schantl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox