Safeguard Reference Manual (G06.24+, H06.03+ )

User Security Commands
Safeguard Reference Manual520618-013
5-18
ALTER USER Command
group-name. You can include it in the command for readability. group-name
is the name of a group to which the user already belongs. group-num is the
number of a group to which the user already belongs.
You can specify the primary group by group name or by group number, but not
both. You cannot include PRIMARY-GROUP NAME and PRIMARY-GROUP
NUMBER attributes in the same command. A PRIMARY-GROUP NAME
replaces a previously specified PRIMARY-GROUP NUMBER, and vice versa.
The Safeguard software does not implicitly add this group to the user’s group
list if the user does not already belong to this group. The previous primary
group remains on the users group list, but not as the primary group.
Without group-name or group-num, PRIMARY GROUP clears the primary
group setting, and the users administrative group becomes the primary group.
(See Considerations on page 5-21.)
INITIAL-DIRECTORY [dir-path]
changes the initial working directory within the OSS file system for the user.
dir-path is a case-sensitive text string of up to 256 characters. It must be a
syntactically valid OSS pathname. If you specify the INITIAL-DIRECTORY
attribute, it must be the last attribute in the command string.
If you omit dir-path, the string is set to null (no pathname).
INITIAL-PROGRAM [prog-path]
changes the initial program pathname within the OSS environment for the user.
prog-path is a case-sensitive text string of up to 256 characters. It must be a
syntactically valid OSS pathname. If you specify the INITIAL-DIRECTORY
attribute, it must be the last attribute in the command string.
This feature is not currently implemented on NonStop systems.
If you omit prog-path, the string is set to null (no pathname).
INITIAL-PROGTYPE [prog-type]
changes the initial program type within the OSS environment for the user.
prog-type
is one of:
PROGRAM
SERVICE
WINDOW
This feature is not currently implemented on NonStop systems.
If you omit prog-type, the initial program type is set to PROGRAM.