Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2004 21:57:13 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        Adam <adam@jamradar.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Environment Varialbes per User
Message-ID:  <41C8E289.4040609@mac.com>
In-Reply-To: <000801c4e7ce$9006a3d0$0200a8c0@PANASONIULSWMR>
References:  <000801c4e7ce$9006a3d0$0200a8c0@PANASONIULSWMR>

next in thread | previous in thread | raw e-mail | index | archive | help
Adam wrote:
> Can environment variables be set/customized per user?

Yes.  Read "man sh", "man csh", and so forth for the files used by each 
specific shell, but the idea is that you create a .login/.profile/.cshrc or 
whatever in each user's home directory which contains such settings.

In fact, FreeBSD normally provides default versions of these already which set 
up the PATH.  I believe you can also use the login.conf mechanism to set up 
env variables for groups or classes of users.

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41C8E289.4040609>