HP-UX SNAplus2 RJE User's Guide

SNAplus2 RJE Components and Operation
Processing Output Data
Chapter 3 57
logon
Your logon entry in /etc/passwd. The
logon
can be as
many as 8 characters.
place
Place
is a path to a directory or a file. The place field
can contain as many as 60 characters. Path names in
place
are relative to your logon directory as specified
in /etc/passwd if they do not begin with a slash.
If
place
is a file, the file may or may not have execute
permission. If
place
is a file without execute
permission, the received file is copied into
place
,
overwriting any existing data. Note that in this case, if
several returning files have usr cards that specify the
same place field, each of the files will overwrite the
previous file. The fileuser ID (UID) and group ID (GID)
are changed to the UID and GID of the logon. The file
permissions are set to 640.
If
place
has execute permission,
place
is executed and
the received file is routed to the executable file. The
place
file will execute with the user and group ID of
the primary user and group of the workstation unless
the permissions on the file allow it to run as the owner
(for example, the executable has setuid bit on). If the
setuid bit is set, the effective user is the owner, but the
real user is still the primary user for the workstation.
(See the man page for setuid(2) for more information.)
When the executable
place
file finishes execution, it
returns an exit value to rjeusr or rjeusrpad. If this
exit value is non-zero, rjeusr or rjeusrpad will log an
error message to the error log file. You should use, for
example, the exit system call if
place
is a C program,
or the exit command if
place
is a shell script to return
an explicit exit value of zero to rjeusr or rjeusrpad.
The rjeusr and rjeusrpad programs pass the
following arguments to the executable:
$1 =
workstation
$2 =
base directory