Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

MODIFY-POSIX-USER-DEFAULTS

&pagelevel(3)&pagelevel

Modify default values for POSIX user attributes


Domain:

USER-ADMINISTRATION

Privileges:

POSIX-ADMINISTRATION
USER-ADMINISTRATION
STD-PROCESSING


This command modifies the values for the POSIX default attributes in the user catalog of the specified pubset. The following users may execute the command:

  • Owners of the POSIX-ADMINISTRATION or USER-ADMINISTRATION privilege for all pubsets.

  • Group administrators of the *UNIVERSAL group on the pubset administered by them.

The POSIX default attributes are used when creating a new user (with ADD-USER).

Additionally the EDIT-POSIX-USER-DEFAULTS command is available which can be used to show and modify the current settings.

Format

MODIFY-POSIX-USER-DEFAULTS                                                                                                              

PUBSET = *HOME / <catid 1..4>

,USER-NUMBER = *UNCHANGED / <integer 0..60002>

,GROUP-NUMBER = *UNCHANGED / <integer 0..60002>

,COMMENT = *UNCHANGED / *NONE / <c-string 1..255 with-low>

,DIRECTORY = *UNCHANGED / *ROOT / <posix-pathname 1..1023 without-wild>

,PROGRAM = *UNCHANGED / *SHELL / <posix-pathname 1..1023 without-wild>

Operands

PUBSET =

Pubset in whose user catalog the POSIX default attributes are to be modified.

PUBSET = *HOME
The POSIX default attributes are modified in the user catalog of the home pubset.

PUBSET = <catid 1..4>
The POSIX default attributes are modified in the user catalog of the specified pubset.

USER-NUMBER =
The user number can be modified.

USER-NUMBER = *UNCHANGED
The user number is not modified.

USER-NUMBER = <integer 0..60002>
The user number receives the specified value.

GROUP-NUMBER =
The group number can be modified.

GROUP-NUMBER = *UNCHANGED
The group number is not modified.

GROUP-NUMBER = <integer 0..60002>
The group number receives the specified value.

COMMENT =
The comment can be modified.

Note

This comment is, for example, used by mail programs to describe the sender.

COMMENT = *UNCHANGED
The comment is not modified.

COMMENT = *NONE
No comment is entered.

COMMENT = <c-string 1..255 with-low>
The specified comment is entered.

DIRECTORY =
The absolute path name to the login directory of the user can be modified.

DIRECTORY = *UNCHANGED
The absolute path name is not modified.

DIRECTORY = *ROOT
Control switches to the root directory.

DIRECTORY = <posix path name 1..1023 without-wild>
Control switches to the specified path name.

PROGRAM =
The program which is started after the user has logged on can be modified.

PROGRAM = *UNCHANGED
The program is not modified.

PROGRAM = *SHELL
The default POSIX shell is started.

PROGRAM = <posix path name 1..1023 without-wild>
The specified program is started.

Command return codes

(SC2)SC1MaincodeMeaning

0CMD0001Command executed without errors
20SRM6001Command executed with warning

32SRM6020Command rejected due to system error

64SRM6040Command rejected with error message

130SRM6030Command rejected because of unavailable resources