systemctl without privilege

Frank Murphy frankly3d at gmail.com
Sat Apr 14 08:29:45 UTC 2012


clamav-server installed using:
https://raw.github.com/csmart/naa/master/sysadmin/scripts/configure-clamd.sh


Am running clamd instance as user "clamav"

How can I get
the following to work as clamav,
or do I have to get user clamav
to join a privileged group?


--snips from freshclam.conf----

# By default when started freshclam drops privileges and switches to the
# "clamav" user. This directive allows you to change the database owner.
# Default: clamav (may depend on installation options)
DatabaseOwner clamav


# Send the RELOAD command to clamd.
# Default: no
NotifyClamd /etc/clamd.d/clamav.conf (same as clamd.conf)

# Run command after successful database update.
# Default: disabled
OnUpdateExecute systemctl reload clamd.clamav.service


-- 
Regards,
Frank
"Jack of all, fubars"


More information about the users mailing list