Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2001 14:50:24 +0100
From:      "Anthony Atkielski" <anthony@atkielski.com>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Subject:   Is root's search path special?
Message-ID:  <005201c16ea5$b7c0f560$0a00000a@atkielski.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005201c16ea5$b7c0f560$0a00000a>