|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
> Global setting should go in /etc/profile and per user settings
> in $HOME/.profile while the defaults are probably
> hardcoded in /bin/login
I just found a file called login.defs. The hardcoded PATH
in /bin/login is /bin:/usr/bin and /etc/login.defs supersedes this
with /usr/local/bin:/bin:/usr/bin for normal users (ENV_PATH) and
more for superuser (ENV_SUPATH). /etc/profile ADDS to this by
including the existing PATH (PATH=$PATH:...) and tacking on
some more directories.
_______________________________________________
Plug maillist - Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug
|