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


Environment variables that you can customize for $HOME/.profile

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

Table 1 lists the environment variables that you can customize for $HOME/.profile.
Table 1. Environment variables that you can customize for $HOME/.profile
Environment variable What it does
ENV Specifies the name of the user's environment file, which is a shell script. ENV=$HOME/.setup specifies a file called .setup, which the user added to the home directory.
STEPLIB Specifies STEPLIBs for individual users who have STEPLIB requirements that are different from those of other users.
Tip: Use STEPLIB=none. However, there might be cases in which a specific library is needed; for example, STEPLIB=USER1.MY.USERLIB.
PATH Appends your home directory to the current path.

When you set up your own $HOME/.profile as superuser, specify the /usr/sbin directory in your PATH variable because some superuser utilities are in that directory instead of the /bin directory. Those utilities include automount, inetd, lm, mknod, ocsconfig, rlogind, uucpd, chroot and cron

PS1 Specifies the prompt character or string.
TZ Specifies a different time zone if the user is in a remote location.
MAILRC Specifies the name of the user's mail startup file. The default is $HOME/.mailrc.
MAIL Specifies the name of the user's file for mail that the user does not save in some other file. The default is $HOME/mbox.
MBOX Specifies the name of the user's file for mail that the user does not save in some other file. The default is $HOME/mbox.
DEAD Specifies the name of the user's file for partial messages when an interrupt or error occurs when creating a message or delivering it. The default is $HOME/dead.letter.
In order for system programmers and administrators to run authorized utilities and to start daemons found in /usr/sbin, they must have a $HOME/.profile file with the PATH environment variable set as follows:
PATH=$PATH:/usr/sbin:$HOME:

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014