From owner-freebsd-questions Fri Nov 16 5:50:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from atkielski.com (atkielski.com [161.58.232.69]) by hub.freebsd.org (Postfix) with ESMTP id 11D8537B417 for ; Fri, 16 Nov 2001 05:50:58 -0800 (PST) Received: from contactdish (ASt-Lambert-101-2-1-14.abo.wanadoo.fr [193.251.59.14]) by atkielski.com (8.11.6) id fAGDou788484; Fri, 16 Nov 2001 14:50:57 +0100 (CET) Message-ID: <005201c16ea5$b7c0f560$0a00000a@atkielski.com> From: "Anthony Atkielski" To: "FreeBSD Questions" Subject: Is root's search path special? Date: Fri, 16 Nov 2001 14:50:24 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Why is it that when I try % myprogram it will run under an ordinary user login, but cannot be found under a root login? The program myprogram is in /usr/local/bin, and /usr/local/bin appears in the PATH for both the user and the root login. Why doesn't it work under root? Is there something special about the way root executes things? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message