z/OS UNIX System Services Planning
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Customizing $HOME/.login

z/OS UNIX System Services Planning
GA32-0884-00

To change or add environment variables such as TERM that are customized for individual users, first use the cp command to copy /samples/.login to $HOME/.login. Then edit the file to change or add environment variables. The $HOME/.login file is only read by tcsh when it is a login shell.

Important: Because $HOME/.login is the tcsh equivalent to $HOME/.profile for sh, you must keep system-wide information for both sets of users in synch. Any customization that you have done for $HOME/.login (such as setting environment variables) must be duplicated in C-shell syntax in$HOME/.profile. Future changes to $HOME/.login also must be made to $HOME/.profile. If you maintain a non-z/OS UNIX system, you could consider porting $HOME/.login and $HOME/.profile from that system to the z/OS system and merging them with the z/OS samples.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014