Subject: Re: /etc/rc.d scripts and $PATH
To: Peter Seebach <seebs@plethora.net>
From: Luke Mewburn <lukem@NetBSD.org>
List: current-users
Date: 09/16/2003 02:49:02
On Mon, Sep 15, 2003 at 04:02:24AM -0500, Peter Seebach wrote:
  | In days of yore, there was no convenient way to access stat(2) from
  | a command line, so I wrote a utility named, inventively, 'stat'.
  |
  | So now, if I try to run some rc.d scripts from a prompt, they fail
  | because my $PATH is wrong. Shouldn't rc.d scripts set their paths to
  | /usr/bin and /usr/sbin (or whatever) preemptively?

Or at least, they should be using full path names to the various commands.