Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2010 10:36:32 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Odhiambo Washington <odhiambo@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: multishell user profile
Message-ID:  <4BCEC720.3080503@infracaninophile.co.uk>
In-Reply-To: <m2j991123401004210130vc5bdc912k46a97e5a29060492@mail.gmail.com>
References:  <4BCEAEDC.8000700@locolomo.org> <m2j991123401004210130vc5bdc912k46a97e5a29060492@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21/04/2010 09:30:54, Odhiambo Washington wrote:
> On Wed, Apr 21, 2010 at 10:53 AM, Erik Norgaard <norgaard@locolomo.org>wrote:
> 
>> Hi:
>>
>> I need to create a user profile that works in different shells,
>> particularly bash, csh and ksh. It seems that these does not read the same
>> files and/or in the same order. So, how do I configure the shell profiles
>> without configuring each shell separately?
>>
>>
> Well, each shell reads different files for environment variables, etc.
> So just have those files in ~/ and install the shells, then invoke them as
> you wish.

See login.conf(5) -- you can set environment variables for all users
independent of what shell they use.

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvOxyAACgkQ8Mjk52CukIwsKwCdFhS+EMLE0iG238ydQnnIesyR
nzcAnRSybbdnQAkfCjGA8HwkLk3WwRLT
=9s6B
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BCEC720.3080503>