How to change the default path

Martin Hopkins martin.hopkins at insignia.com
Wed Jun 21 19:31:39 BST 2000


>>>>> "Mark" == Mark Ovens <mark at dogma.freebsd-uk.eu.org> writes:

    Mark> On Wed, Jun 21, 2000 at 06:56:24PM +0100, L. Cranswick wrote:
    >> 
    >> > >>>>> "Lachlan" == L Cranswick <L.M.D.Cranswick at dl.ac.uk> writes:
    >> > 
    >> >     Lachlan> Sorry about this query - but how do you
    >> >     Lachlan> change the default path in FreeBSD for
    >> >     Lachlan> all (including root) logins?
    >> > 
    >> >     Lachlan> I want to swap /usr/local/bin and /usr/bin
    >> >     Lachlan> but cannot seem to find the file that sets 
    >> >     Lachlan> this.
    >> > 
    >> >     Lachlan> Thanks in advance,
    >> > 
    >> > /etc/login.conf is the traditional place.
    >> > 
    >> > Martin
    >> 
    >> Would I be believed if I said this did not work?
    >> 
    >> Also, a plain user's and root's path in FreeBSD 4 
    >> has /usr/games in the path - yet this does not appear in
    >> the /etc/login.conf?
    >> 

    Mark> Try /usr/share/skel/dot.login

That'll teach me to have a BSD/OS machine...

Martin





More information about the Ukfreebsd mailing list