Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

ADD-POSIX-USER

&pagelevel(3)&pagelevel

Define POSIX attributes for user ID


Domain:

SYSTEM-MANAGEMENT

Privileges:

TSOS
USER-ADMINISTRATION


This command defines the attributes which a user ID must have to be used with POSIX.

Format

ADD-POSIX-USER                                                                                                                              

USER-NAME = <name 1..8>

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

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

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

,HOME-DIRECTORY = *DEFAULT / <posix-pathname 1..1023 without-wild>

,RLOGIN-ACCOUNT = *NONE / <alphanum-name 1..8>

Operands

USER-NAME = <name 1..8>

BS2000 user ID whose POSIX user attributes are to be defined.

USER-NUMBER =
User number to be defined for the user ID.

USER-NUMBER = *DEFAULT
The user number is given the currently set default value (see the "SHOW-POSIX-USER-DEFAULTS" command).

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

GROUP-NUMBER =
Group number to be defined for the BS2000 user ID.

GROUP-NUMBER = *DEFAULT
The group number is given the currently set default value (see the "SHOW-POSIX-USER-DEFAULTS" command).

GROUP-NUMBER = <integer 1..60002>
The group number is given the specified value .

PROGRAM =
Program that is started following the command rlogin or after the command START-POSIX-SHELL has been called.

PROGRAM = *DEFAULT
The program to be started is determined on the basis of the currently set default value (see the "SHOW-POSIX-USER-DEFAULTS" command).

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

HOME-DIRECTORY =
Specifies the absolute path name of the directory to which a user is automatically taken when they are connected to POSIX.

If the directory does not yet exist it is created and the owner is set to the user number and the group number of the POSIS user ID.

If the directory already exists its attributes remain unchanged and a respective message is output (POS2907 THE HOME DIRECTORY EXISTS; ITS ATTRIBUTES ARE NOT CHANGED).

HOME-DIRECTORY = *DEFAULT
The directory determined on the basis of the currently set default value (see the "SHOW-POSIX-USER-DEFAULTS" command).

HOME-DIRECTORY = <posix-pathname 1..1023 without-wild>
Specifies the directory.

RLOGIN-ACCOUNT =
Account number for using POSIX over a remote login and over NFS.

RLOGIN-ACCOUNT = *NONE
The account number defined with "ADD-USER" or "MODIFY-USER-ATTRIBUTES" for access over a remote login remains unchanged.

RLOGIN-ACCOUNT = <alphanum-name 1..8>
The account number specified is used for access over a remote login.

The account number is relevant for user IDs which wish to have remote access to
POSIX (rlogin or Telnet access, rsh and rcp commands) or to use at, crontab or batch.