Where does PATH at login come from?
Gary Weimer
weimer at ssd.kodak.com
Wed Nov 28 00:53:50 AEST 1990
[sorry about previous post]
In article <18613 at unix.SRI.COM> ric at ace.sri.com (Richard Steinberger) writes:
>When I log on to some of our BSD unix machines (Alliant, Multiflow,
>DEC 3100), I notice that the PATH variable has some initial members,
>usually something like (/usr/ucb /usr/bin /bin .). Can anyone
>let me know where these initial elements of PATH come from?
>Is this at all configurable? Thanks to any and all who reply.
man sh(1) under _Execution_ simply states:
The default path is :/usr/ucb:/bin:/usr/bin (specifying /usr/ucb,
/bin, and /usr/bin, in addition to the current directory).
IMPLYING that this default is built into the shell itself (i.e. set by
shell when shell is started, using a constant compiled into the shell.)
This is only an assumption.
More information about the Comp.unix.questions
mailing list