CL Command Reference - CRTUSRPRF
CL Command List > CRTUSRPRF Reference
Description:
The Create User Profile (CRTUSRPRF) command identifies a user to the system and allows you to customize the way the system appears. When the profile is created, the profile is given *CHANGE and *OBJMGT authorities for the profile itself. The system relies on the profile having these authorities to itself and they should not be removed.
Restrictions: The user of this command must have:
. Security administrator (*SECADM) special authority
. Use (*USE) authority to the initial program, initial menu, job description, message queue, output queue, and attention-key-handling program (if specified)
. Change (*CHANGE) and object management (*OBJMGT) authorities to the group profile and supplemental group profiles (if specified).
Examples:
Example 1: Creating a User Profile
CRTUSRPRF USRPRF(JJADAMS) PASSWORD(S1CR2T) SPCAUT(*SAVSYS)
INLPGM(ARLIB/DSPMENU)
This command creates a user profile with the user name of JJADAMS and a password of S1CR2T. After sign-on, a program called DSPMENU in the ARLIB library is called. The user is granted the save system special authority. Because the other parameters were not specified: (1) The profile has no limit on the amount of storage assigned to it for owned permanent objects; (2) A scheduling priority of 3 is the highest priority that any of the user¡¯s jobs can have; (3) The user-defined description text is blank; (4) There is no group profile associated with this user profile; and (5) No authority is granted for the user profile to other users.
Example 2: Creating a User Profile with the Same User Name and Password
CRTUSRPRF USRPRF(TMSMITH) MAXSTG(12) INLPGM(PROGMR/CALC)
TEXT(¡¯Ted Smith, Dept 410, Application Programs¡¯)
This command creates a user profile with the user name of TMSMITH; the password is also TMSMITH because the password was not specified. The maximum permanent storage space the user can use for all objects is 12K (or 12,288 bytes). The initial program called following sign-on is CALC, which is located in the library named PROGMR. The text parameter provides the user¡¯s name, department, and department name. Default values are assigned to the other parameters.