Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Sep 1996 01:31:12 -0400
From:      Gary Chrysler <tcg@ime.net>
To:        Kurt Schafer <kurt@cyberbeach.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Path environment for shells
Message-ID:  <322A7120.23F7@ime.net>
References:  <199609011639.MAA10570@wave.cyberbeach.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?322A7120.23F7>