Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)
alias-name
is an existing alias for 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 /user/deml.o to
the alias donl of the user definition with the user name scribes.DONALD:
ALTER ALIAS donl, INITIAL-PROGRAM /user/deml.o
The assignment process can be partially automated by creating a TACL macro file and then editing
that file appropriately for each new user. Example 18 (page 208) contains a Guardian TACL macro
that adds a user and an alias for the user with an OSS initial program.
Assigning an Initial Program Using a TACLCSTM File
You can also assign an initial program 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:
RUN OSH -ls -prog pathname
where pathname is the pathname of an existing OSS program file to be used as the initial program.
The -ls specification causes execution behaviors appropriate for a UNIX shell program.
When the user gains access to the OSS environment by logging in at a TACL prompt, the OSH
command in the TACLCSTM file ignores any default initial program assigned in the user definition.
Users can also temporarily change their initial programs in this manner.
Using this method to assign an initial program might cause unexpected behavior by OSS shell
commands such as newgrp. HP does not recommend using this method.
See the osh(1) reference page either online or in the Open System Services Shell and Utilities
Reference Manual for additional information on using the OSH command to launch programs
other than the OSS shell.
User Management Tools on OSS
Prior to the J06.16 and H06.27 RVUs, OSS system managers use the Safeguard product to
configure a NonStop operating system user for access to the OSS environment. A fully licensed
version of the Safeguard product provides the maximum security and user configuration features
available for managing the OSS environment.
Beginning with the J06.16 and H06.27 RVUs, a suite of user management utilities are provided
for creating, modifying, and deleting user accounts. These user management utilities:
• Are mainly intended for user management in the OSS environment, similar to those on other
Open Source systems (such as Linux), and they provide a similar user interface.
• Do not provide all of the intricate features for a user or an alias on NonStop. You must use
Safeguard for a full set of user management features.
• Have interoperability with Safeguard. That is, a user created or modified using these utilities
is visible from Safeguard, and vice versa.
• Provide operational results that are visible in the Guardian environment.
The following new OSS commands are provided to manage users from the OSS environment:
• “useradd Command” (page 211) – creates a new user or an alias, can also update the default
user and alias information file
• “usermod Command” (page 211) – modifies an existing user or an alias
210 Managing Users and Groups