Re: ENV_SUPATH and MAIL_DIR in /etc/login.defs
On Mon, Feb 11, 2002 at 05:37:45PM -0200, Henrique de Moraes Holschuh wrote:
> > I think the who variables have a wronge value.
> >
> > old: ENV_SUPATH PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
> >
> > i think should be:
> > ENV_SUPATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
>
> That would give /usr/local precedence. This is something we only want done
> by the express wishes of the local administrator (i.e. he must go there and
> change it himself).
Why is this different for the superuser? The only person that can
install to /usr/local to begin with is the local administrator.
This doesn't even seem to be used by many shells:
10:55pm glenn@zewt.pts/3 [~] grep PATH /etc/profile
PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
The definition in login.defs seems less useful when shells override
it with their own paths by default.
--
Glenn Maynard
Reply to: