From owner-freebsd-questions@FreeBSD.ORG Mon Dec 24 13:50:34 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA2D216A420 for ; Mon, 24 Dec 2007 13:50:34 +0000 (UTC) (envelope-from ml@netfence.it) Received: from parrot.aev.net (parrot.aev.net [212.31.247.179]) by mx1.freebsd.org (Postfix) with ESMTP id 1F9DF13C461 for ; Mon, 24 Dec 2007 13:50:33 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu ([151.77.240.163]) (authenticated bits=128) by parrot.aev.net (8.14.2/8.13.8) with ESMTP id lBODqfEi092539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 24 Dec 2007 14:52:48 +0100 (CET) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.2/8.13.8) with ESMTP id lBODqNfX040585; Mon, 24 Dec 2007 14:52:24 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <476FB919.1080500@netfence.it> Date: Mon, 24 Dec 2007 14:50:17 +0100 From: Andrea Venturoli User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Cristian KLEIN References: <47469D3F.1070207@netfence.it> <474AA3E4.7020807@net.utcluj.ro> <4766EF3D.6030807@netfence.it> <4767185D.6040007@net.utcluj.ro> In-Reply-To: <4767185D.6040007@net.utcluj.ro> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.63 on 212.31.247.179 Cc: freebsd-questions@freebsd.org Subject: Re: portaudit in periodic [SOLVED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2007 13:50:34 -0000 Cristian KLEIN ha scritto: > But have you tried running these commands from the shell? It is very important > to check the scripts with the above SHELL & PATH environment. If the above works > from the shell, I'm pretty much out of ideas too. Yes, and it did work. In the end I realized the problem was that I have to use a proxy: from the shell portaudit picked up HTTP_PROXY and FTP_PROXY from the environment, while it didn't when launched from cron. Obiously setting up portaudit.conf was the solution. bye & Thanks av.