Subject: Re: System wide environment
To: Brian Rose <lists@brianrose.net>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 08/30/2003 18:52:40
On Sat, 30 Aug 2003, Brian Rose wrote:
> Where are the system wide environment settings set? My path got changed
> somehow, and I'd like to change my path for all users and all shells,
> and do it in one place. I am having little luck in finding out where the
> current path is set.
>
> I've tried...
> /etc/rc.local - nothing in it
> /etc/profile - nothing in it
> /etc/environment - file does not exist
> /sbin/sysctl user.cs_path - path in the kernel is not my path when I start a session
By the way, what is your path (that you didn't want)?
Setup /etc/login.conf path.
Maybe something like:
default:path=/bin /usr/bin /usr/local/bin:
Jeremy C. Reed
http://www.reedmedia.net/