Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2002 11:38:50 -0600
From:      Glenn Johnson <glennpj@charter.net>
To:        Stan Brown <stanb@panix.com>
Cc:        FreeBSD Questions list <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How to customize path on a system wide bassis?
Message-ID:  <20020108173850.GA92446@gforce.johnson.home>
In-Reply-To: <3C3B15A0.5060504@magpage.com>
References:  <200201081520.g08FKcO22317@panix2.panix.com> <3C3B15A0.5060504@magpage.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 08, 2002 at 10:52:00AM -0500, Daniel Frazier wrote:

> Stan Brown wrote:
>
> > Whats the best way to customize the PATH on a systemwide basssis?
> >
> > If I put it in /etc/rc, then whne I run mergemaster, I have to fix
> > it every time.
> >
> > Looks like this should be a canidate for /etc/rc.conf, but
> > /etc/defaults/rc.conf, does not list it as one of the possible
> > customizations.
> >
> > Is there a better way to do this?
>
>
>
> /etc/login.conf or /etc/profile, but login.conf will apply to all
> logins whereas /etc/profile only applies to sh(but I think bash reads
> it too, check the man page)

Be sure to run 'cap_mkdb /etc/login.conf' to rebuild /etc/login.conf.db
after you edit the login.conf file.

-- 
Glenn Johnson
glennpj@charter.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020108173850.GA92446>