Hey folks,
I'm working on a new server, and things are running beautifully. I
did, however, notice something I thought was a little odd...
I wrote a pair of shell scripts that will email me an alert when
freshclam updates the database successfully, and also if it fails. I
tested, and it worked perfectly.
... Until I set the user (_qscand) that clamd/freshclam run as to
have a restricted (/sbin/nologin) shell, that is. Then, I didn't get
any further alerts. Just to make sure I wasn't smoking the bad crack,
I changed the shell back to bash, and I got alerts again.
How does freshclam actually execute this command? Is there a way
around this? I'd rather run that user without a real shell if possible.
If not, no huge deal, but it would be nice.
Also, a tiny feature request - it would have been much easier to
debug this issue I'm having, if freshclam could log when it attempts
to run the OnUpdateExecute or OnErrorExecute commands. :)
Thanks much!
Benny
ps: OpenBSD 3.6-STABLE, ClamAV 0.80 running as _qscand user, freshclam
running in daemon mode
--
"... i want to be a farting burping maniac."
-- "kerry",
on MentalDischarge
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users