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

User Security Commands
Safeguard Reference Manual520618-013
5-4
ADD USER Command
A summary of the function performed by the command, including the restrictions
on who can use the command
Descriptions of the command parameters and variables
The format for the command listing or report (for commands that produce displays
or listings)
Considerations for the use of the command
Examples of command usage
ADD USER Command
ADD USER adds a user to the system and creates a Safeguard authentication record
for that user. Once a new user is added to the system (and knows what the initial
password is), the user can log on to the system.
By default, only the super ID (user ID 255,255) can use the ADD USER command to
add the first member of a new administrative group to a system. However, if an access
control list has been defined for OBJECTTYPE USER, that list specifies the users who
are allowed to add other users. For more information, see Section 12, OBJECTTYPE
Security Commands. (Adding the first member of a new group implicitly adds a new
administrative group to a system.)
Also by default, only the group’s manager and the super ID are allowed to add users to
a particular administrative group unless an access control list has been specified for
OBJECTTYPE USER.
You can use the SET USER command to set default values for the user attributes and
then use ADD USER to identify the user name and user ID of the record to which the
default values are to be assigned. You can also specify attribute values in your ADD
USER command. The current default values are used for any attributes left
unspecified.
USER
identifies USER as the object class of the ADD command. Omit it if USER is the
assumed class. (For more information about assumed commands, see the
ASSUME Command on page 4-3.)
group-name.member-name
is the user name of the user added to the system. If group-name does not match
any existing group-name and if group-num is not assigned to an existing
group-name, a new administrative group is added to the system, with this user
being the first member of the group.
ADD USER group-name.member-name , group-num,member-num [ , ]
[ LIKE user | user-attribute ] [ , user-attribute ] ...