From owner-freebsd-questions Tue Jan 8 9:38:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dc-mx04.cluster1.charter.net (dc-mx04.cluster0.hsacorp.net [209.225.8.14]) by hub.freebsd.org (Postfix) with ESMTP id 9E1C937B416 for ; Tue, 8 Jan 2002 09:38:53 -0800 (PST) Received: from [24.158.214.244] (HELO gforce.johnson.home) by dc-mx04.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP id 5402709; Tue, 08 Jan 2002 12:45:15 -0500 Received: (from glenn@localhost) by gforce.johnson.home (8.11.6/8.11.6) id g08HcpE92544; Tue, 8 Jan 2002 11:38:51 -0600 (CST) (envelope-from glenn) From: Glenn Johnson Date: Tue, 8 Jan 2002 11:38:50 -0600 To: Stan Brown Cc: FreeBSD Questions list Subject: Re: How to customize path on a system wide bassis? Message-ID: <20020108173850.GA92446@gforce.johnson.home> Mail-Followup-To: glenn@FreeBSD.ORG, Stan Brown , FreeBSD Questions list References: <200201081520.g08FKcO22317@panix2.panix.com> <3C3B15A0.5060504@magpage.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C3B15A0.5060504@magpage.com> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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