From owner-freebsd-questions Tue Jan 8 7:52: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from trinity.magpage.com (trinity.magpage.com [216.155.0.8]) by hub.freebsd.org (Postfix) with ESMTP id 1B45137B405 for ; Tue, 8 Jan 2002 07:52:03 -0800 (PST) Received: from magpage.com (dfrazier@poomba.magpage.com [216.155.24.136]) by trinity.magpage.com (8.11.6/8.11.3) with ESMTP id g08Fq1O68383; Tue, 8 Jan 2002 10:52:01 -0500 (EST) Message-ID: <3C3B15A0.5060504@magpage.com> Date: Tue, 08 Jan 2002 10:52:00 -0500 From: Daniel Frazier User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.6) Gecko/20011204 X-Accept-Language: en-us MIME-Version: 1.0 To: Stan Brown Cc: Free BSD Questions list Subject: Re: How to customize path on a system wide bassis? References: <200201081520.g08FKcO22317@panix2.panix.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-RRT-Status: UNKNOWN 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 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) -- ---------------------------------------------------------------------- Daniel Frazier Tel: 302-239-5900 Ext. 231 Systems Administrator Fax: 302-239-3909 MAGPAGE, We Power the Internet WWW: http://www.magpage.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, Historical Review of Pennsylvania, 1759. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message