Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)

You can also assign an initial working directory to a user by either inserting the following entry in
the user’s TACLCSTM file or having the user enter the following at a TACL prompt before using the
OSH command:
PARAM HOME pathname
where pathname is the pathname of an existing OSS directory to be used as the initial working
directory.
When the user gains access to the OSS environment by logging in at a TACL prompt, the OSH
command uses this PARAM value to override any default initial working directory assigned in the
user or alias definition. Users can also temporarily change their initial working directories in this
manner.
Assigning an Initial Program
An initial program is the program that is executed for a user upon entry to the OSS environment.
An initial program is normally a command interpreter, but it can be any application that can read
a standard input file.
If you log on and enter the OSS environment without specifying an initial program, Open System
Services assumes that you are launching the initial program. This concept is similar to the concept
of the default command interpreter in the Guardian environment.
You should provide each OSS user with an initial program in the OSS environment. The initial
program can be assigned in either of these ways:
You can use the Safeguard subsystem.
For Telserv indirect users only, you can use a TACLCSTM file.
HP recommends that you use the Safeguard subsystem and its INITIAL-PROGRAM attribute.
Unless a user requests otherwise or your site has other specific requirements, you should assign
the OSS shell (/bin/sh) as the initial program for all users.
Assigning an Initial Program Using Safeguard
You can assign an initial program to an existing user definition by using the SAFECOM ALTER
USER command to change the value of the INITIAL-PROGRAM attribute. You use a SAFECOM
command such as the following:
ALTER USER group-number,member-number,
INITIAL-PROGRAM /code-dir/program
or
ALTER USER group-name.member-name,
INITIAL-PROGRAM /code-dir/program
group-number,member-number
is the structured view of the user ID of an existing user definition.
group-name.member-name
is the user name of an existing user definition.
/code-dir/program
is the initial program, expressed as an OSS pathname.
For example, the following SAFECOM command assigns the initial program /bin/sh to the user
definition with the user name scribes.henrysp:
ALTER USER scribes.henrysp, INITIAL-PROGRAM /bin/sh
You can assign an initial program to an alias instead of to the user definition itself by using the
SAFECOM ALTER ALIAS command. You use a SAFECOM command such as the following:
ALTER ALIAS alias-name, INITIAL-PROGRAM /code-dir/program
Assigning an Initial Program 209