From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 16:11:07 2009 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 0D5771065670 for ; Sun, 18 Jan 2009 16:11:07 +0000 (UTC) (envelope-from a.smith@ukgrid.net) Received: from mx1.ukgrid.net (mx1.ukgrid.net [89.107.16.164]) by mx1.freebsd.org (Postfix) with ESMTP id C6B1A8FC0A for ; Sun, 18 Jan 2009 16:11:06 +0000 (UTC) (envelope-from a.smith@ukgrid.net) Received: from www by mx1.ukgrid.net with local (Exim 4.69; FreeBSD) auth-from www envelope-from a.smith@ukgrid.net envelope-to freebsd-questions@freebsd.org id 1LOZrw-000NLH-7u; Sun, 18 Jan 2009 15:47:24 +0000 Received: from 92-238-156-23.cable.ubr23.sgyl.blueyonder.co.uk (92-238-156-23.cable.ubr23.sgyl.blueyonder.co.uk [92.238.156.23]) by horde.ukgrid.net (Horde Framework) with HTTP; Sun, 18 Jan 2009 15:47:24 +0000 Message-ID: <20090118154724.780736hzlg7x77k0@horde.ukgrid.net> Date: Sun, 18 Jan 2009 15:47:24 +0000 From: Andy Smith To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3) / FreeBSD-7.0 Sender: World Wide Web Owner Subject: PATH used by www user 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: Sun, 18 Jan 2009 16:11:07 -0000 Hi, I'm trying to work out why the PATH is different for the www user on two different FreeBSD servers. The problem being that on one it cant find the traceroute binary (via a perl script hosted on apache 2.2). The www user on both is the FreeBSD default, so has no home directory on either. The /etc/profile is the same on both servers, also the login.conf have the same path value set and there are no /etc/bash files. But still on one server the path is /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin and on the other only /bin:/usr/bin. Can someone tell me where the path may be being set that I havent looked? thanks, Andy. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.