I'm gradully migrating a slew of SunOS 4.x machines to Solaris 2.x here.
The system for user shell environment as implemented by my predecessors is
to have a a one-line ~/.{cshrc,login} for each user that says ``source
/usr/share/defaults/{cshrc,login}''.
I'm thinking that with the move to Solaris it might be opportune to take
advantage of the fact that tcsh automagically sources /etc/.cshrc and
/etc/.login to provide a default environment (path, etc). However, many
users are csh users and the *y csh only sources the user's own dot
files, except /etc/.login, and then only if ~/.login does not exist. This
is a serious problem for those who do have ~/.login files, as even with a
line in /etc/.login to source /etc/.cshrc, you won't see any of it. This
is also true if you start up a non-login csh session (such as under CDE).
I don't want to force csh users to switch to tcsh, even though they might
like it better in the long run...
Anybody have any suggestions as to how to cleanly implement a default shell
environment for users? To me, user dot files are customizations, I would
think a user should not HAVE to have *any* dot files in order to have a
workable environment. But maybe I'm just making a mountain out of a
molehill. Even so, I am curious as to how other people have solved this
``problem''.
Regards,
Eric
--
Knicks Asst. Coach Ralph Willard on how to stop
Michael Jordon:
"I am just going to tell them to get some
kryptonite."
Eric D. Hendrickson Computational Biology Centers/Medical School
Senior Analyst/Programmer University of Minnesota, Twin Cities, USA
612/625-3644 (phone) <a href="http://www.veryComputer.com/~edh">Crystal Cave</a>
612/626-0623 (fax) Damnit! I can't stop the heterocyclic declination!