COHERENT manpages

This page displays the COHERENT manpage for profile [Set default environment at login].

List of available manpages
Index


profile -- System Administration

Set default environment at login
/etc/profile

The shell executes the script /etc/profile whenever any user logs in.  This
script sets up  the default environment for a user.   Note that the actions
of  this script  can be  altered  or supplemented  by each  user's .profile
script.

If  /etc/passwd   specifies  a  program  in   the  login-shell  slot,  then
/etc/profile is  read by /bin/sh.  Those lines that begin  with the command
export are recognized as global environments, and the remainder of the line
is inserted into the environment.

Please note that if /bin/sh or /bin/ksh is not the shell, any constructions
other than

    export foo=value

are not likely to work.

See Also

Administering COHERENT,
ksh,
.kshrc,
.profile,
sh