multishell user profile

Matthew Seaman m.seaman at infracaninophile.co.uk
Wed Apr 21 09:36:37 UTC 2010


-----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 at 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-----


More information about the freebsd-questions mailing list