login.conf and .profile/.cshrc
Joerg Sonnenberger
joerg at britannica.bec.de
Sun Sep 11 04:40:40 PDT 2005
On Sat, Sep 10, 2005 at 05:57:38PM +0200, Erik Wikström wrote:
> I just bootstrapped pkgsrc and thought that I was smart when I modified
> /etc/login.conf to add /usr/pkg/bin to $PATH only to spend an hour or
> two trying to find out why the path wasn't set. Reading a number of man-
> pages and trying using different login-classes and ~/.login_conf. After
> some time I remembered to check the shell configuration files and now I
> wonder, why is the $PATH set first using login and then in .profile and
> .cshrc?
login.conf is just the fallback default value. It's the smallest
sensible default path :-)
Joerg
More information about the Users
mailing list