Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Customizing /etc/csh.login z/OS UNIX System Services Planning GA32-0884-00 |
|
The /etc/csh.login file is used for setting environment variables such as TERM and is only read by tcsh when it is a login shell. Important: Because /etc/csh.login is
the tcsh equivalent to /etc/profile for sh,
you need to keep system-wide information for both sets of users in
synch. Any customization that you have done for /etc/profile (such
as setting environment variables) must be duplicated in tcsh syntax
in /etc/csh.login. Future changes to /etc/profile also
need to be made to /etc/csh.login. If you maintain
a non-z/OS UNIX system, you
could consider porting /etc/csh.cshrc and /etc/csh.login from
that system to z/OS and
merging them with the z/OS samples.
Figure 1 shows a sample /samples/csh.login file:
Figure 1. Partial contents of
the /samples/csh.login file
Use the cp command to copy /samples/csh.login to /etc/csh.login. Edit /etc/csh.login to change or add environment variables. |
Copyright IBM Corporation 1990, 2014
|