From owner-freebsd-questions Thu Apr 26 12:40:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from benny.geektank.org (00-04-ac-38-0e-e8.bconnected.net [209.53.63.19]) by hub.freebsd.org (Postfix) with ESMTP id D18D537B423 for ; Thu, 26 Apr 2001 12:40:14 -0700 (PDT) (envelope-from tmchow@sfu.ca) Received: from localhost (tmchow@localhost) by benny.geektank.org (8.11.3/8.11.3) with ESMTP id f3QJe3Z96783 for ; Thu, 26 Apr 2001 12:40:03 -0700 (PDT) (envelope-from tmchow@sfu.ca) X-Authentication-Warning: benny.geektank.org: tmchow owned process doing -bs Date: Thu, 26 Apr 2001 12:40:00 -0700 (PDT) From: Trevin Chow X-X-Sender: To: Subject: What should be in /etc/profile & /etc/bashrc? Message-ID: <20010426123638.O96761-100000@benny.geektank.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I wanted to put most of my settings in global files so I was using /etc/profile and /etc/bashrc. The problem I was having before was putting things in ~/.bashrc and ~/.bash_profile but everytime I wanted to make a global change I would have to change each user's local file. Everything seemed to work okay but now that I've installed postgresql, the startup scripts use the /bin/sh shell and are imcompatible with some of the settings for the bash prompt I have in /etc/profile. I've always been confused as what to put into /etc/profile and to find the best balance between a global setup and what should be in local users ~/.bashrc and ~/.bash_profile.. Anyone have any advice and/or sample files? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message