Date: Mon, 26 Nov 2007 12:45:56 +0200 From: Cristian KLEIN <cristi@net.utcluj.ro> To: Andrea Venturoli <ml@netfence.it> Cc: freebsd-questions@freebsd.org Subject: Re: portaudit in periodic Message-ID: <474AA3E4.7020807@net.utcluj.ro> In-Reply-To: <47469D3F.1070207@netfence.it> References: <47469D3F.1070207@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrea Venturoli wrote: > Hello. > I'm running a dozen boxes (most being 6.2) with portaudit installed and > I usually get a port vulnerability report in the daily security run. > > On one box, however, portaudit's db won't update automatically. The > security reports will mention no vulnerability, even when I know they > are there. > Running "periodic daily" from a shell does it all for good, so that for > a few days I'll see the correct warnings. I used to have problem with cron scripts, because cron uses another PATH then what the script gets if it's run from the shell. Could you try the following (assuming sh): export SHELL=/bin/sh export PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin export HOME=/var/log periodic daily
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?474AA3E4.7020807>