The Change User Profile (CHGUSRPRF) command changes the values specified in a user profile. The password validation rules are not verified by the system when a password is changed by this command. A description of the password validation rules is in the System i Security Reference, SC41-5302 book.
Restrictions:
You must have security administrator (*SECADM) special authority, and object management (*OBJMGT) and use (*USE) authorities to the user profile being changed.
You must have *USE authority to any of the following, if specified: the current library, program, menu, job description, message queue, print device, output queue, and ATTN key handling program.
Specifies the user profile whose values are to be changed. A numeric user profile can be specified. If the user profile is numeric, it must begin with a Q.
This is a required parameter.
The following IBM-supplied objects are not valid on this parameter:
Specifies the password that allows the user to sign on the system. The password is associated with a user profile and is used by the system to represent the user in the system. The passwords should be known only to the individual user. A numeric password can be specified.
When the system is operating at password level 0 or 1 and the password is numeric, then the password must begin with a Q, for example, Q1234 where 1234 is the password used for signing on the system.
Note: The password level is controlled by the Password Level (QPWDLVL) system value.
Note: The new password is not checked against the password validation rules. The password validation rules are defined by IBM i system values. For a description of the password validation rules, see the System i Security Reference, SC41-5302 book.
*SAME
The value does not change.
*NONE
No password is associated with this user profile. Users cannot sign on a system with a profile that has PASSWORD(*NONE) specified.
user-password
When the system is operating at password level 0 or 1, specify an alphanumeric character string of 10 characters or less. The first character must be alphabetic and the other characters must be alphanumeric.
When the system is operating at password level 2 or 3, specify a character string of 128 characters or less. Passwords are case sensitive at password level 2 or 3.
If the local password management (LCLPWDMGT) parameter is *NO, the local IBM i password will be set to *NONE, so the user would have the same restrictions as specifying *NONE for the password. The password value specified will be sent to other IBM products or solutions that do password synchronization (for example, IBM i integration with BladeCenter and System x at http://www.ibm.com/systems/i/bladecenter/). See the documentation for the product or solution for information on managing the passwords when LCLPWDMGT(*NO) is specified for the user profile.
Specifies whether the password for this user is set to expired. If the password is set to expired, the user is required to change the password to sign on the system. When the user attempts to sign on the system, the sign-on information display is shown and the user has the option to change this password.
Specifies the status of the user profile. The system will disable a user profile when:
The user profile reaches the maximum number of password verifications. The maximum number of password verifications is reached when the number of failed password verification attempts reaches the limit specified on the QMAXSIGN system value and option 2 or 3 has been specified on the QMAXSGNACN system value.
The user profile expiration date is reached. Use the Display User Profile (DSPUSRPRF) command to display the user expiration date.
The STATUS parameter is set to *DISABLED on the Create User Profile (CRTUSRPRF) or Change User Profile (CHGUSRPRF) command.
*SAME
The value does not change.
*ENABLED
The user profile is valid for sign-on.
*DISABLED
The user profile is not valid for sign-on until an authorized user enables it again. Batch jobs can be submitted under a disabled user profile.
Specifies the type of user associated with this user profile: security officer, security administrator, programmer, system operator, or user. The user class controls the options that are shown on a menu. Special authorities are given only if *USRCLS is specified for the Special authority (SPCAUT) parameter. If SPCAUT(*USRCLS) is specified, the special authorities granted will differ depending on the QSECURITY value.
*SAME
The value does not change.
*USER
At QSECURITY level 10 or 20, the user has *ALLOBJ and *SAVSYS authority.
At QSECURITY level 30 or above, the user has no special authorities.
*SECOFR
At all levels of security, the security officer is granted the following special authorities:
*ALLOBJ
*SAVSYS
*JOBCTL
*SERVICE
*SPLCTL
*SECADM
*AUDIT
*IOSYSCFG
*SECADM
At QSECURITY level 10 or 20, the security administrator has *ALLOBJ, *SAVSYS, *SECADM, and *JOBCTL special authorities.
At QSECURITY level 30 or above, the user has *SECADM special authority.
*PGMR
At QSECURITY level 10 or 20, the programmer has *ALLOBJ, *SAVSYS, and *JOBCTL special authorities.
At QSECURITY level 30 or above, the user has no special authorities.
*SYSOPR
At QSECURITY level 10 or 20, the system operator has *ALLOBJ, *SAVSYS, and *JOBCTL special authorities.
At QSECURITY level 30 or above, the user has *SAVSYS and *JOBCTL special authorities.
The assistance level defined in the system value QASTLVL is used.
*BASIC
The Operational Assistant user interface is used.
*INTERMED
The system interface is used.
*ADVANCED
The expert system interface is used. To allow for more list entries, option keys and function keys are not displayed. If a command does not have an advanced (*ADVANCED) level, the intermediate (*INTERMED) level is used.
Specifies the name of the current library associated with the job being run.
Specifies the name of the library to be used as the current library for this user. If *PARTIAL or *YES is specified for the Limit capabilities (LMTCPB) parameter of the Create User Profile (CRTUSRPRF) or Change User Profile (CHGUSRPRF) command, the user cannot change the current library at sign-on or with the Change Profile (CHGPRF) command.
*SAME
The value does not change.
*CRTDFT
This user has no current library. The library QGPL is used as the default current library.
name
Specify the name of the library to use as the current library for this user.
Specifies, for an interactive job, the program called whenever a new routing step is started that has QCMD as the request processing program. If *PARTIAL or *YES is specified for the Limit capabilities (LMTCPB) parameter, the program value cannot be changed at sign on or by using the Change Profile (CHGPRF) command. No parameters can be passed to the program.
A System/36 environment procedure name can be specified as the initial program if the procedure is a member of the file QS36PRC (in the library list or specified library) and if either of the following conditions are true:
*S36 is specified on the SPCENV parameter.
*SYSVAL is specified on the SPCENV parameter and the system value, QSPCENV, is *S36.
Single values
*SAME
The value does not change.
*NONE
No program is called when the user signs on. If a menu name is specified in the Initial menu (INLMNU) parameter, that menu is displayed.
Qualifier 1: Initial program to call
name
Specify the name of the program that is called when the user signs on.
Qualifier 2: Library
*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the job is used to locate the program. If no library is specified as the current library for the job, QGPL is used.
name
Specify the name of the library where the initial program is located.
Specifies the initial menu displayed when the user signs on the system if the user's routing program is the command processor QCMD. If *YES is specified for the Limit capabilities (LMTCPB) parameter, the user cannot change the menu either at sign-on or with the Change Profile (CHGPRF) command.
A System/36 environment menu can be specified as the initial menu if either of the following conditions are true:
*S36 is specified for the Special environment (SPCENV) parameter.
*SYSVAL is specified on the SPCENV parameter and the system value, QSPCENV, is *S36.
Single values
*SAME
The value does not change.
*SIGNOFF
The system signs off the user when the program completes. This is intended for users authorized only to run the program.
Qualifier 1: Initial menu
name
Specify the name of the initial menu called after the user signs on the system.
Qualifier 2: Library
*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the job is used to locate the menu. If no library is specified as the current library for the job, QGPL is used.
name
Specify the nameof the library where the initial menu is located.
Specifies the limit to which the user can control the program, menu, current library, and the ATTN key handling program values. It also determines whether the user can run commands from a command line. This parameter is ignored when the security level is 10.
Note: When creating or changing other users' user profiles, you cannot specify values on this parameter that grant greater capabilities to other users than your own user profile grants to you. For example, if *PARTIAL is specified for the Limit capabilities (LMTCPB) parameter in your user profile, you can specify *PARTIAL or *YES for another user. You cannot specify *NO for another user.
*SAME
The value does not change.
*NO
The program, menu, and current library values can be changed when the user signs on the system. Users may change the program, menu, current library, or ATTN key handling program values in their own user profiles with the Change Profile (CHGPRF) command. Commands can be run from a command line.
*PARTIAL
The program and current library cannot be changed on the sign-on display. The menu can be changed and commands can be run from a command line. A user can change the menu value with the Change Profile (CHGPRF) command. The program, current library, and the ATTN key handling program cannot be changed using the CHGPRF command.
*YES
The program, menu, and current library values cannot be changed on the sign-on display. Commands cannot be run when issued from a command line or by selecting an option from a command grouping menu such as CMDADD, but can still be run from a command entry screen. The user cannot change the program, menu, current library, or the ATTN key program handling values by using the CHGPRF command.
Specifies the special authorities given to a user. Special authorities are required to perform certain functions on the system. Special authorities cannot be removed from many of the system-supplied user profiles, including QSECOFR and QSYS.
The following special authorities are usually given:
Save system (*SAVSYS) special authority to users who need to operate the system.
Input/output system configuration (*IOSYSCFG) special authority to users who need to change system I/O configurations.
Job control (*JOBCTL) special authority is given to the user. The user is given the authority to change, display, hold, release, cancel, and clear all jobs that are running on the system or that are on a job queue or output queue that has OPRCTL (*YES) specified. The user also has the authority to load the system, to start writers, and to stop active subsystems.
Security administrator (*SECADM) special authority to users who need to create, change, or delete user profiles.
All object (*ALLOBJ) special authority to users who need to work with system resources.
Service (*SERVICE) special authority to users who need to perform service functions.
Spool control (*SPLCTL) special authority to users who need to perform all spool-related functions.
Audit (*AUDIT) special authority to users who need to perform auditing functions.
Restrictions:
The user profile creating or changing another user profile must have all of the special authorities being given. All special authorities are needed to give all special authorities to another user profile.
A user must have *ALLOBJ and *SECADM special authorities to give a user *SECADM special authority when using the CHGUSRPRF command.
The user must have *ALLOBJ, *SECADM, and *AUDIT special authorities to give a user *AUDIT special authority when using the CHGUSRPRF command.
Single values
*SAME
The value does not change.
*USRCLS
Special authorities are granted to this user based on the value specified on User class (USRCLS) parameter.
*NONE
No special authorities are granted to this user.
Other values
*ALLOBJ
All object authority is given to the user. The user can access any system resource with or without private user authorizations.
*AUDIT
Audit authority is granted to this user. The user is given the authority to perform auditing functions. Auditing functions include turning auditing on or off for the system and controlling the level of auditing on an object or user.
*JOBCTL
Job control authority is given to the user. The user has authority to change, display, hold, release, cancel, and clear all jobs that are running on the system or that are on a job queue or output queue that has OPRCTL (*YES) specified. The user also has the authority to start writers and to stop active subsystems.
*SAVSYS
Save system authority is given to the user profile. This user has the authority to save, restore, and free storage for all objects on the system, with or without object management authority.
*IOSYSCFG
Input/output (I/O) system configuration authority is given to the user. The user has authority to change system I/O configurations.
*SECADM
Security administrator authority is given to the user. The user can create, change, or delete user profiles if authorized to the Create User Profile (CRTUSRPRF), Change User Profile (CHGUSRPRF), or Delete User Profile (DLTUSRPRF) commands and is authorized to the user profile. This authority does not allow giving special authorities that this user profile does not have. To give *SECADM special authority to another user, a user must have both *ALLOBJ and *SECADM special authorities.
*SERVICE
Service authority is given to this user. The user can perform service functions.
*SPLCTL
Spool control authority is given to this user. The user can perform all spool functions.
Specifies the password expiration interval (in days).
*SAME
The value does not change.
*SYSVAL
The system value QPWDEXPITV is used to determine the password expiration interval.
*NOMAX
The password does not expire.
1-366
Specify the number of days between the date when the password is changed and the date when the password expires. Valid values range from 1 through 366.
Specifies the time period during which a password is blocked from being changed following the prior successful password change operation. This value can be used to prevent users from reusing the same expired password value by simply changing their password numerous times to get back to the expired password value (and defeating the purpose of the QPWDRQDDIF system value). This parameter does not restrict a security administrator from using a command like Change User Profile (CHGUSRPRF) to change the password.
In addition, this parameter will not block the user from changing their profile's password when the set to expired (PWDEXP) value is *YES. This allows a security administrator to create a user profile with an expired password and still permit the user to sign-on and change the password (once) without being prevented by the block password change value.
*SAME
The value does not change.
*SYSVAL
The system value QPWDCHGBLK is used to determine the block password change value.
*NONE
The password can be changed at any time.
1-99
Indicates the number of hours a user must wait after the prior successful password change operation before they are able to change the password again.
Specifies whether the user profile password should be managed locally.
*SAME
The value does not change.
*YES
Password will be managed on the local system.
*NO
Password will not be managed on the local system. Specifying this value will cause the local IBM i password to be set to *NONE. The password value specified in the password parameter will be sent to other IBM products or solutions that do password synchronization (for example, IBM i integration with BladeCenter and System x at http://www.ibm.com/systems/i/bladecenter/).
The user will not be able to change their own password using the Change Password (CHGPWD) command. They also will not be able to sign on to the system directly.
Specifying this value will affect other IBM products or solutions that do password synchronization, like IBM i integration with BladeCenter and System x at http://www.ibm.com/systems/i/bladecenter/. See the documentation for the product or solution for details.
This value should be used if the user only needs to access the system through some other platform, such as Windows.
Specifies the keyboard buffering value to be used when a job is initialized for this user profile. If the type-ahead feature is active, you can buffer your keyboard strokes. If the attention key buffering option is active, the attention key is buffered as any other key. If it is not active, the attention key is not buffered and is sent to the system even if the display station is input-inhibited. This value can also be set by a user application. More information is in the APIs topic collection in the Programming category in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/.
*SAME
The value does not change.
*SYSVAL
The system value, QKBDBUF, is used to determine the keyboard buffering value.
*NO
The type-ahead feature and attention key buffering option are not active.
*TYPEAHEAD
The type-ahead feature is active, but the attention key buffering option is not.
*YES
The type-ahead feature and attention key buffering option are active.
Specifies the maximum amount of auxiliary storage (in kilobytes) assigned to store permanent objects owned by this user profile (1 kilobyte equals 1024 bytes). If the maximum is exceeded when an interactive user tries to create an object, an error message is displayed, and the object is not created. If the maximum is exceeded when an object is created in a batch job, an error message is sent to the job log (depending on the logging level of the job), and the object is not created.
Storage is allocated in 4K increments. Therefore, if you specify MAXSTG (9), the profile is allocated 12K of storage.
When planning maximum storage for user profiles, consider the following system actions:
A restore operation assigns the storage to the user doing the restore, and then transfers the object to the owner. For a large restore, specify MAXSTG(*NOMAX).
The user profile that creates a journal receiver is assigned the required storage as the receiver size grows. If new receivers are created using JRNRCV(*GEN), the storage continues to be assigned to the user profile that owns the active journal receiver. If a very active journal receiver is owned, specify MAXSTG(*NOMAX).
User profiles that transfer created objects to their group profile must have adequate storage in the user profiles to contain created objects before the objects are transferred to the group profile.
The owner of the library is assigned the storage for the descriptions of objects which are stored in a library, even when the objects are owned by another user profile. Examples of such objects are text and program references.
*SAME
The value does not change.
*NOMAX
As much storage as is required is assigned to this profile.
number
Specify the maximum amount of storage for the user, in kilobytes (1 kilobyte equals 1024 bytes).
Specifies the highest scheduling priority the user is allowed to have for each job submitted to the system. This value controls the job processing priority and output priority for any job running under this user profile; that is, values specified in the JOBPTY and OUTPTY parameters of any job command cannot exceed the PTYLMT value of the user profile under which the job is run. The scheduling priority can have a value ranging from 0 through 9, where 0 is the highest priority and 9 is the lowest priority.
*SAME
The value does not change.
0-9
Specify a value ranging from 0 through 9 for the highest scheduling priority that the user is allowed.
Specifies the job description used for jobs that start through subsystem work station entries. If the job description does not exist when the user profile is created or changed, a library qualifier must be specified, because the job description name is kept in the user profile.
Single values
*SAME
The value does not change.
Qualifier 1: Job description
name
Specify the name of job description used for the work station entries whose job description parameter values indicate the user JOBD(*USRPRF).
Qualifier 2: Library
*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is used.
Specifies the user's group profile name whose authority is used if no specific authority is given for the user. The current user of this command must have object management (*OBJMGT) and change (*CHANGE) authority to the profile specified for the Group profile (GRPPRF) parameter. The required *OBJMGT authority cannot be given by a program adopt operation.
Note:
When a group profile is specified, the user is automatically granted *CHANGE and *OBJMGT authority to the group profile.
The following IBM-supplied objects are not valid on this parameter.
Specifies the user profile that is to be the owner of objects created by this user.
*SAME
The value does not change.
*USRPRF
The user profile associated with the job is the owner of the object.
*GRPPRF
The group profile is made the owner of newly created objects and has all authority to the object. The user profile associated with the job does not have any specific authority to the object. If *GRPPRF is specified, a user profile name must be specified for the Group profile (GRPPRF) parameter, and the Group authority (GRPAUT) parameter cannot be specified.
The specific authority given to the group profile for newly created objects. If *GRPPRF is specified for the Owner (OWNER) parameter, specification of this parameter is not allowed.
*SAME
The value does not change.
*NONE
No group authority is given.
*ALL
The user can perform all operations except those limited to the owner or controlled by authorization list management (*AUTLMGT) authority. The user can control the object's existence, specify the security for the object, change the object, and perform basic functions on the object. The user also can change ownership of the object.
*CHANGE
The user can perform all operations on the object except those limited to the owner or controlled by object existence (*OBJEXIST) and object management (*OBJMGT) authorities. The user can change and perform basic functions on the object. *CHANGE authority provides object operational (*OBJOPR) authority and all data authority. If the object is an authorization list, the user cannot add, change, or remove users.
*USE
The user can perform basic operations on the object, such as running a program or reading a file. The user cannot change the object. Use (*USE) authority provides object operational (*OBJOPR), read (*READ), and execute (*EXECUTE) authorities.
Specifies the type of authority to be granted to the group profile for newly-created objects. If *NONE is specified for the Group authority (GRPAUT) parameter, specification of this parameter is ignored.
*SAME
The value does not change.
*PRIVATE
The group profile is granted private authority to newly-created objects, with the authority value determined by the GRPAUT parameter. If the authority value in the GRPAUT parameter is *NONE, this value is ignored.
*PGP
The group profile will be the primary group for newly-created objects, with the authority value determined by the GRPAUT parameter. If the authority value in the GRPAUT parameter is *NONE, this value is ignored.
Specifies the user's supplemental group profiles. The profiles specified here, along with the group profile specified for the Group profile (GRPPRF) parameter, are used to determine what authority the user has if no specific user authority is given for the job. If profiles are specified for this parameter, a group profile name must be specified on the GRPPRF parameter for this user profile (either on this command or on a previous Create User Profile (CRTUSRPRF) or Change User Profile (CHGUSRPRF) command. The current user of this command must have object management (*OBJMGT) and change (*CHANGE) authority to the profiles specified for this. The required *OBJMGT authority cannot be given by a program adopt operation.
Notes:
When a group profile is specified, the user is automatically granted *CHANGE and *OBJMGT authority to the group profile.
The following IBM-supplied user profiles are not valid for this parameter:
No supplemental group profiles are used with this user profile.
name
Specify a maximum of 15 group profile names used with this user profile and the group profile specified on the GRPPRF parameter to determine a job's eligibility for getting access to existing objects and special authority.
Specifies the accounting code that is associated with this user profile.
*SAME
The value does not change.
*BLANK
An accounting code consisting of 15 blanks is assigned to this user profile.
character-value
Specify the 15-character accounting code to be used by jobs that get their accounting code from this user profile. If less than 15 characters are specified, the string is padded on the right with blanks.
Specifies the document password that allows Document Interchange Architecture (DIA) document distribution services users protect personal distributions from being used by people who work on their behalf.
*SAME
The value does not change.
*NONE
No document password is used by this user.
name
Specify the document password to be assigned to this user. The password must range from 1 through 8 alphanumeric characters (letters A through Z and numbers 0 through 9). The first character of the document password must be alphabetic; the remaining characters can be alphanumeric. Embedded blanks, leading blanks, and special characters are not valid.
Specifies the message queue to which messages are sent.
Note: The message queue is created, if it does not already exist. The user profile specified for the User profile (USRPRF) parameter is the owner of the message queue.
Single values
*SAME
The value does not change.
*USRPRF
A message queue with the same name as that specified for the USRPRF parameter is used as the message queue for this user. This message queue is located in the QUSRSYS library.
Qualifier 1: Message queue
name
Specify the name of the message queue to be used with this profile.
Qualifier 2: Library
*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is used.
Specifies how messages are sent to the message queue for this user are to be delivered.
*SAME
The value does not change.
*NOTIFY
The job to which the message queue is assigned is notified when a message arrives at the message queue. For interactive jobs at a work station, the audible alarm is sounded (if the alarm feature is set) and the Message Waiting light is turned on. The delivery mode cannot be changed to *NOTIFY if the message queue is also being used by another job.
*HOLD
The messages are held in the message queue until they are requested by the user or program.
*BREAK
The job to which the message queue is assigned is interrupted when a message arrives at the message queue. If the job is an interactive job, the audible alarm is sounded (if the alarm feature is set). The delivery mode cannot be changed to *BREAK if the message queue is also being used by another job.
*DFT
The default reply to the inquiry message is sent. If no default reply is specified in the message description of the inquiry message, the system default reply, *N, is used.
Specifies the lowest severity code that a message can have and still be delivered to a user in break or notify mode. Messages arriving at the message queue whose severities are lower than the severity code specified for this parameter do not interrupt the job or turn on the audible alarm or the message-waiting light; they are held in the queue until they are requested by using the Display Message (DSPMSG) command. If *BREAK or *NOTIFY is specified for the Delivery (DLVRY) parameter, and is in effect when a message arrives at the queue, the message is delivered if the severity code associated with the message is equal or greater then the value specified here. Otherwise, the message is held in the queue until it is requested.
*SAME
The value does not change.
0-99
Specify a severity code ranging from 00 through 99.
Specifies the default printer device for this user. If the printer file used to create printed output specifies to spool the data, the spooled file is placed on the device's output queue, which is named the same as the device.
Note: This assumes the defaults are specified for the Output queue (OUTQ) parameter for the printer file, job description, user profile and workstation.
*SAME
The value does not change.
*WRKSTN
The printer assigned to the user's work station is used.
*SYSVAL
The value specified in the system value QPRTDEV is used.
name
Specify the name of a printer that is to be used to print the output for this user.
Specifies the output queue to be used by this user profile. The output queue must already exist when this command is run.
Single values
*SAME
The value does not change.
*WRKSTN
The output queue assigned to the user's work station is used.
*DEV
The output queue associated with the printer specified for the Print device (PRTDEV) parameter is used. The output queue has the same name as the printer. (The printer file DEV parameter is determined by the CRTPRTF, CHGPRTF, or the OVRPRTF command).
Note: This assumes the defaults are specified for the Output queue (OUTQ) parameter for the printer file, job description, user profile and workstation.
Qualifier 1: Output queue
name
Specify the name of the output queue to be used by this user profile.
Qualifier 2: Library
*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is used.
Specifies the program to be used as the Attention (ATTN) key handling program for this user. The ATTN key handling program is called when the ATTN key is pressed during an interactive job. The program is active only when the user routes to the system-supplied QCMD command processor. The ATTN key handling program is set on before the initial program (if any) is called and it is active for both program and menu. If the program changes the ATNPGM (by using the SETATNPGM command), the new program remains active only for the duration of the program. When control returns and QCMD calls the menu, the original ATTN key handling program becomes active again. If the SETATNPGM command is run from the menus or an application is called from the menus, the new ATTN key handling program that is specified overrides the original ATTN key handling program. If *YES or *PARTIAL is specified for the Limit capabilities (LMTCPB) parameter on the Create User Profile (CRTUSRPRF) or Change User Profile (CHGUSRPRF) command, the ATTN key handling program cannot be changed.
Single values
*SAME
The value does not change.
*SYSVAL
The system value QATNPGM is used.
*NONE
No ATTN key handling program is used by this user.
*ASSIST
The Operational Assistant ATTN key handling program, QEZMAIN, is used.
Qualifier 1: Attention program
name
Specifies the name of the ATTN key handling program to be used for this user profile.
Qualifier 2: Library
*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is used.
Specifies the language identifier to be used for this user.
*SAME
The value does not change.
*SYSVAL
The system value QLANGID is used.
language-identifier
Specify the language identifier to be used. More information on valid language identifiers is in the i5/OS globalization topic collection in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/ .
Specifies the country or region identifier to be used for this user.
*SAME
The value does not change.
*SYSVAL
The system value QCNTRYID is used.
character-value
Specify a country or region identifier. To see a complete list of identifiers when prompting this command, position the cursor on the field for this parameter and press F4 (Prompt).
Specifies the coded character set identifier (CCSID) to be used for this user.
A CCSID is a 16-bit number identifying a specific set of encoding scheme identifiers, character set identifiers, code page identifiers, and additional coding-related information that uniquely identifies the coded graphic representation used.
Note: If the value for CCSID is changed, the change does not affect jobs that are currently running.
*SAME
The value does not change.
*SYSVAL
The system value QCCSID is used.
*HEX
The CCSID 65535 is used.
identifier
Specify the CCSID to be used for this user profile. More information on valid CCSIDs is in the Globalization information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
Specifies the character identifier control (CHRIDCTL) for the job. This attribute controls the type of coded character set identifier (CCSID) conversion that occurs for display files, printer files and panel groups. The *CHRIDCTL special value must be specified for the Character identifier (CHRID) parameter on the create, change, or override commands for display files, printer files, and panel groups before this attribute will be used.
*SAME
The value does not change.
*SYSVAL
The system value QCHRIDCTL is used.
*DEVD
The *DEVD special value performs the same function as on the CHRID command parameter for display files, printer files, and panel groups.
*JOBCCSID
The *JOBCCSID special value performs the same function as on the CHRID command parameter for display files, printer files, and panel groups.
Specifies the path name of the locale that is assigned to the LANG environment variable for this user.
Note: This parameter is Unicode-enabled. See "Unicode support in CL" in the CL topic collection in the Programming category in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/ for additional information.
*SAME
The value does not change.
*SYSVAL
The system value QLOCALE is used to determine the locale path name to be assigned for this user.
*NONE
No locale path name is assigned for this user.
*C
The C locale path name is assigned for this user.
*POSIX
The POSIX locale path name is assigned for this user.
'path-name'
Specify the path name of the locale to be assigned for this user.
Specifies the level of help information detail to be shown and the function of the Page Up and Page Down keys by default. The system shows several displays that are suitable for the inexperienced user. More experienced users must perform an extra action to see detailed information. When values are specified for this parameter, the system presents detailed information without further action by the experienced user.
Single values
*SAME
The value does not change.
*NONE
Detailed information is not shown.
Other values
*CLKWD
Parameter keywords are shown instead of the possible parameter values when a control language (CL) command is prompted.
*EXPERT
More detailed information is shown when the user is performing display and edit options to define or change the system (such as edit or display object authority).
*ROLLKEY
The actions of the Page Up and Page Down keys are reversed.
*NOSTSMSG
Status messages are not displayed when sent to the user.
*STSMSG
Status messages are displayed when sent to the user.
*HLPFULL
Help text is shown on a full display rather than in a window.
*PRTMSG
A message is sent to this user's message queue when a spooled file for this user is printed or held by the printer writer.
Specifies the user ID number (uid number) for this user profile. The uid number is used to identify the user when the user is using the directory file system. The uid number for a user cannot be changed if there are one or more active jobs for the user.
*SAME
The value does not change.
number
Specify the uid number to be assigned to the user profile. A value from 1 to 4294967294 can be entered. The uid number assigned must not already be assigned to another user profile.
Specify the group ID number (gid number) for this user profile. The gid number is used to identify the group profile when a member of the group is using the directory file system. The gid number for a user may not be changed if:
The user profile is the primary group of an object in a directory.
There are one or more active jobs for the user.
*SAME
The value does not change.
*NONE
The user does not have a gid number or an existing gid number is removed.
Note: This value cannot be specified if the user is a group profile or the primary group of an object.
*GEN
The gid number will be generated for the user. The system generates a gid number that is not already assigned to another user. The gid number generated is greater than 100.
number
Spcify the gid number to be assigned to the user profile. A value from 1 to 4294967294 can be entered. The gid number assigned must not already be assigned to another user profile.
Specifies the path name of the home directory for this user profile. The home directory is the user's initial working directory. The working directory, associated with a process, is used during path name resolution in the directory file system for path names that do not begin with a slash (/). If the home directory specified does not exist when the user signs on, the user's initial working directory is the root (/) directory.
Note: This parameter is Unicode-enabled. See "Unicode support in CL" in the CL topic collection in the Programming category in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/ for additional information.
*SAME
The value does not change.
*USRPRF
The home directory assigned to the user will be /home/USRPRF, where USRPRF is the name of the user profile.
'path-name'
Specify the path name of the home directory to be assigned to this user.
For more information on specifying path names, refer to "Object naming rules" in the CL topic collection in the Programming category in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter/.
Specifies whether an EIM (Enterprise Identity Mapping) association to an EIM identifier for this user should be processed.
Note.
This information is not stored in the user profile. This information is not saved or restored with the user profile.
If this system is not configured for EIM, then no processing is done. Not being able to perform EIM operations does not cause the command to fail.
Single values
*NOCHG
The EIM association information does not change.
Element 1: EIM identifier
Specifies the EIM identifier for this association.
*USRPRF
The name of the EIM identifer is the same name as the user profile.
character-value
Specify the name of the EIM identifier.
Element 2: Association type
Specifies the type of association. It is recommended that a target association is added for an IBM i user.
Target associations are primarily used to secure existing data. They will be found as the result of a mapping lookup operation (that is, eimGetTargetFromSource()), but cannot be used as the source identity for a mapping lookup operation.
Source associations are primarily for authentication purposes. They can be used as the source identity of a mapping lookup operation, but will not be found as the target of a mapping lookup operation.
Administrative associations are used to show that an identity is associated with an EIM identifier, but cannot be used as the source for, and will not be found as the target of, a mapping lookup operation.
*TARGET
Process a target association.
*SOURCE
Process a source association.
*TGTSRC
Process both a target and a source association.
*ADMIN
Process an administrative association.
*ALL
Process all association types.
Element 3: Association action
*REPLACE
Associations of the specified type will be removed from all EIM identifiers that have an association for this user profile and local EIM registry. A new association will be added to the specified EIM identifier.
*ADD
Add an association.
*REMOVE
Remove an association.
Element 4: Create EIM identifier
Specifies whether the EIM identifier should be created if it does not already exist.
Specifies the date when the user profile expires and is automatically disabled. Use the Display Expiration Schedule (DSPEXPSCD) command to display a list of all user profiles set to expire.
If a user profile is set to expire, the QSECEXP1 job is scheduled to run nightly.
The following IBM-supplied user profiles cannot specify a user expiration date:
Specifies the expiration interval (in days) before the user profile is automatically disabled. Use the Display User Profile (DSPUSRPRF) command to display the date the user profile expires. Use the Display Expiration Schedule (DSPEXPSCD) command to display a list of all user profiles set to expire.
Note: A value must be specified for this parameter if the User expiration date (USREXPDATE) parameter has a value of *USREXPITV. If the USREXPDATE parameter has a value other than *USREXPITV, no value is allowed for this parameter.
1-366
If the user profile does not have a user expiration date, or the user profile has expired and the Status parameter is set to *ENABLED, specifies the number of days between today and the new date when the user profile expires. If the user profile has not yet expired, the user expiration interval is changed, but the existing user expiration date is not changed. Valid values range from 1 through 366.