How to change the default path

Mark Ovens mark at dogma.freebsd-uk.eu.org
Wed Jun 21 19:20:20 BST 2000


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?
> 

Try /usr/share/skel/dot.login

> This was a minimum install of FreeBSD 4 for server
> type applications.
> 
> Lachlan.
> 
> 
> -- 
> Lachlan M. D. Cranswick
> 
> Collaborative Computational Project No 14 (CCP14)
>     for Single Crystal and Powder Diffraction
> Daresbury Laboratory, Warrington, WA4 4AD U.K
> Tel: +44-1925-603703  Fax: +44-1925-603124
> E-mail: l.cranswick at dl.ac.uk  Ext: 3703  Room C14
>                            http://www.ccp14.ac.uk
> 
> 
> ------ FreeBSD UK User's Group  -  Mailing List ------
> http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users

-- 
  If I buy a copy of WinDelete, and it doesn't delete Windows,
  am I entitled to my money back?
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark at ukug.uk.freebsd.org             http://www.radan.com





More information about the Ukfreebsd mailing list