Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!dkuug!freja.diku.dk!rimfaxe.diku.dk!thorinn From: thorinn@rimfaxe.diku.dk (Lars Henrik Mathiesen) Newsgroups: comp.unix.questions Subject: Re: Where does PATH at login come from? Message-ID: <1990Nov27.125834.6039@diku.dk> Date: 27 Nov 90 12:58:34 GMT References: <18613@unix.SRI.COM> <14583@smoke.brl.mil> Sender: news@diku.dk (The Netnews System) Organization: Department Of Computer Science, University Of Copenhagen Lines: 14 gwyn@smoke.brl.mil (Doug Gwyn) writes: >Typically there are three possible sources for the initial PATH: > The shell itself will have some hard-wired default PATH. > A system-wide configuration file (/etc/profile, for example) > can reset the PATH, if the shell reads the configuration file. > Each user can have his own configuration file in his home > directory; names are usually .profile (sh) and .login (csh). Four and five: login and init. On our system (Mt. Xinu 4.3), login does create an initial environment with a PATH, while init doesn't. -- Lars Mathiesen, DIKU, U of Copenhagen, Denmark [uunet!]mcsun!diku!thorinn Institute of Datalogy -- we're scientists, not engineers. thorinn@diku.dk