Sample Of A Portion Of .Profile File - IBM RS/6000 SP Problem Determination Manual

Hide thumbs Also See for RS/6000 SP:
Table of Contents

Advertisement

This soft copy for use by IBM employees only.
Figure 5. Sample of a Portion of .profile File
AIX 4.1.4 comes with Common Desktop Environment (CDE), and many customers
decide to use this. AIX provides a sample dtprofile under
/usr/dt/config/sys.dtprofile.
/usr/dt/config/sys.dtprofile is a factory-default file and will be unconditionally
overwritten upon subsequent installation. Before making changes to the file,
copy it to the configuration directory /etc/dt/config.
The sys.dtprofile file is copied to $HOME/.dtprofile the first time a user logs into
the desktop. Any lines in sys.dtprofile located between "SYSPROFILE COMMENT
START" and "SYSPROFILE COMMENT END" are filtered out during the copy.
Your $HOME/.dtprofile is read each time you log in to the Common Desktop
Environment (CDE) and is the place to set or override desktop environment
variables for your session. Environment variables set in $HOME/.dtprofile are
made available to all applications on the desktop. The desktop will accept either
sh or ksh syntax for the commands in $HOME/.dtprofile.
By default, the desktop does not read your standard $HOME/.profile or
$HOME/.login files. This can be changed by uncommenting the
DTSOURCEPROFILE variable assignment at the end of this file. The desktop
reads .profile if your $SHELL is "sh" or "ksh," or .login if your $SHELL is "csh."
Here is an example of a sample .dtprofile.
For more details, read the text under /usr/dt/config/sys.dtprofile.
P A T H = / u s r / l p p / s s p / r c m d / b i n :
PATH=$PATH:/usr/lpp/ssp/bin:
/usr/lpp/ssp/kerberos/bin:/usr/local
PATH=$PATH:/usr/bin:/etc/:/usr/sbin:/usr/ucb
PATH=$PATH:/usr/dt/bin:/usr/lpp/X11/bin:/sbin:
PATH=$PATH:$HOME/bin:/sbin:/bin
MANPATH=/usr/lpp/ssp/man:/u/loadl/man:/usr/man
E N V = / . k s h r c
export PATH MANPATH ENV
[
]
! "$DT"
if
then
[
]
-s "$MAIL"
if
then echo "$MAILMSG"
fi
fi
DTSOURCEPROFILE=true
\
Chapter 2. The Installation Process
9

Advertisement

Table of Contents
loading

Table of Contents