From owner-freebsd-questions Sun Sep 1 23:37:31 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA16036 for questions-outgoing; Sun, 1 Sep 1996 23:37:31 -0700 (PDT) Received: from ime.net (ime.net [204.97.248.4]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA16005 for ; Sun, 1 Sep 1996 23:37:28 -0700 (PDT) Received: from kimiko.tcguy.net (buxton-12.ime.net [206.231.148.141]) by ime.net (8.7.4/8.6.12) with SMTP id BAA19036; Mon, 2 Sep 1996 01:31:04 -0400 (EDT) Message-ID: <322A7120.23F7@ime.net> Date: Mon, 02 Sep 1996 01:31:12 -0400 From: Gary Chrysler Reply-To: tcg@ime.net Organization: The Computer Guy X-Mailer: Mozilla 3.0b6 (Win95; I) MIME-Version: 1.0 To: Kurt Schafer CC: freebsd-questions@freebsd.org Subject: Re: Path environment for shells References: <199609011639.MAA10570@wave.cyberbeach.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Kurt Schafer wrote: > > When I log in to my machine as root, I have access to the /usr/local/bin > directory via the bash shell, but when I log in under any regular users > I cannot access any of those executables. > > Where can I set the environment for bash so that /usr/local/bin is accessible > to all users ? I'm assuming there is a master profile hiding away someplace > that I need to add some lines to. (which brings up another question...*ack) > > -Kurt bash uses .cshrc in your home directory. Just change the 'set path' line to what you want! Mine looks something like: set path = (/usr/local/{bin,sbin,samba/bin} ... ...) I *belive* the system wide .cshrc is in /etc. -Enjoy Gary ~~~~~~~~~~~~~~~~ Improve America's Knowledge... Share yours The Borg... Where minds meet (207) 929-3848