[Thamesvalley-pm] scripting question
gmatt at nerc.ac.uk
Tue Aug 14 06:12:36 PDT 2007
Paul Johnson wrote:
> Cron problems are almost invariably due to environment or permissions
> problems. In your case I would tend to be suspicious of the ssh call,
> in in particular of the permissions of the identify file.
>> $TMPLOG .= `ssh -l root -i /etc/mail/.ssh/vid $relay "egrep -i :INFECTED: /var/log/maillog" `
except that it reports ok on ClamAV and Sophos viruses! it just misses
the bitdefender ones.
Greg Matthews 01491 692445
Head of UNIX/Linux, iTSS Wallingford
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.
More information about the Thamesvalley-pm