Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
User Commands (m - o) osh(1)
Process Environment
The child process is a session leader and its OSS parent process ID is set to 1. Its Guardian mom,
or its Guardian ancestor if it is a named process, is the osh process that created it.
osh child processes have an initial signal mask in which all signals are defaulted.
The value of the OSS environment variable HOME passed to the child process is the first applica-
ble value from the following list:
1. The content of the Guardian environment HOME PARAM variable, if one is de
fined.
2. The initial login directory of the parent process as configured on the HP node that runs the
child process.
The initial login directory is determined by looking up the user ID that corresponds to the
login name of the parent process in the authentication database of the node on which the
child process runs. If that user ID matches the real user ID of the child process, then the
initial login directory configured for the user ID of the parent process on the target node is
used as the HOME environment variable value. If the user ID of the parent process does
not match the real user ID of the child process, the initial login directory configured for the
real user ID of the child process is used as the HOME environment variable value.
The value of the OSS environment variable PWD passed to the child process is the first applicable
value from the following list:
1. The content of the Guardian environment PWD PARAM variable, if one is defined.
2. The initial login directory (if a login shell is being created) of the parent process as
configured on the HP node that runs the child process.
The initial login directory is determined by looking up the user ID that corresponds to the
login name of the parent process in the authentication database of the node on which the
child process runs. If that user ID matches the real user ID of the child process, then the
initial login directory configured for the user ID of the parent process on the target node is
used as the PWD environment variable value. If the user ID of the parent process does
not match the real user ID of the child process, the initial login directory configured for the
real user ID of the child process is used as the PWD environment variable value.
3. The current working directory of the parent process (if a login shell is not being created).
The creation of the child process fails when an initial working directory and current working
directory cannot be identified.
DIAGNOSTICS
Error diagnostics are written to the Guardian STDERR file of the osh process. All osh error mes-
sages are prefixed with osh[n]:, where n is a unique message number. The following messages
can appear:
osh[1]: standard files must be local to nodename
One of the standard input, output, or error files is not local to the HP node on
which osh is running.
Make sure that the IN, OUT, and either TERM or STDERR files are on your local
HP node. Reenter the command with new specifications if needed.
527188-003 Hewlett-Packard Company 6−107