Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Privileges and functions

&pagelevel(3)&pagelevel

A new privilege, the POSIX-ADMINISTRATION privilege, has been introduced for POSIX. Owners of this privilege are referred to as POSIX administrators in this manual, and they have the following tasks and rights:

The POSIX-ADMINISTRATION privilege is automatically linked to the SYSROOT system ID. This privilege cannot be withdrawn by SYSROOT.

The security administrator (SECURITY-ADMINISTRATION privilege) can also grant the POSIX-ADMINISTRATION privilege to other BS2000 user IDs, and likewise withdraw it. The SECOS software product is required for this process.

SYSROOT is the POSIX counterpart to the system administrator ID root in UNIX systems. SYSROOT is set up following BS2000 system startup and automatically receives the user number 0. No other user ID can be assigned to SYSROOT.

Holders of the USER-ADMINISTRATION privilege also receive authorization to administer the POSIX user attributes. In this instance, they are treated as if they were POSIX administrators.

The authorization of the group administrator of the *UNIVERSAL group is extended to include the POSIX user attributes. When administering the POSIX user attributes on the pubset managed by the user, the user is treated as if he/she has the USER-ADMINISTRATION privilege. In this case, the restrictions for group administrators within the user’s hierarchy described below do not apply to the user.

Group administrators may also administer POSIX user attributes. However, the following restrictions apply:

  • They cannot administer the default values for the POSIX user attributes.

  • The type of POSIX user attributes which they can use depends on their authorization (ADM-AUTHORITY).

  • The value range of the POSIX user attributes is restricted for group administrators.

  • They can only administer the group and subgroup members for whom they are responsible.

The following table gives an overview of the responsibilities and activities associated with POSIX user administration. Note that the administrators require certain privileges. Some functions are performed on the BS2000 level, the shell level, or both.

Function/activity

Privilege

Command, etc.

Enter in

See

Show POSIX status

SUBSYSTEM-MANAGEMENT

/SHOW-POSIX-STATUS

BS2000

"SHOW-POSIX-STATUS"

Grant/withdraw the POSIX-ADMINISTRATION privilege
to BS2000 user IDs

SECURITY-ADMIN.

/SET-PRIVILEGE
/RESET-PRIVILEGE

BS2000

"SECOS" [9] manual

Assign POSIX user attributes

USER-ADMIN. or
POSIX-ADMIN. or
BS2000 group administrator
(with restrictions)

/MODIFY-POSIX-USER-ATTRIBUTES
/SHOW-POSIX-USER-ATTRIBUTES

BS2000

"Assigning POSIX user attributes"

Assign an individual user number to a BS200 user ID

USER-ADMIN.

/MODIFY-POSIX-USER-ATTRIBUTES

BS2000

"Allocating an individual user number to a BS2000 user ID"

Administer POSIX groups in BS2000

USER-ADMIN. or
POSIX-ADMIN. or
group administrator

/MODIFY-POSIX-USER-ATTRIBUTES:
User attribute GROUP-NUMBER

BS2000

"Administering BS2000 and POSIX groups",
"Entering new POSIX users"

Administer POSIX groups in POSIX

Root authorization

File /etc/group

POSIX shell

"Administering BS2000 and POSIX groups",
"Entering new POSIX users"

Add new POSIX users

USER-ADMIN.,
TSOS necessary for
/ADD-POSIX-USER

/ADD-USER and
/ADD-POSIX-USER

BS2000

"Entering new POSIX users"

Define defaults for POSIX user attributes

USER-ADMIN. or
POSIX-ADMIN. or
BS2000 group administrator
(with restrictions)

/MODIFY-POSIX-USER-DEFAULTS
/SHOW-POSIX-USER-DEFAULTS

BS2000

"Defining default values for POSIX user attributes"

Assign access permission for users on remote computers

USER-ADMIN. or
BS2000 group administrator
(with restrictions)

/SET-LOGON-PROTECTION
/MODIFY-LOGON-PROTECTION
/SHOW-LOGON-PROTECTION

BS2000

"Defining access rights for users of remote computers"

Enter account number for system access via a remote computer

USER-ADMIN. or
BS2000 group administrator
(with restrictions)

/ADD-USER
/MODIFY-USER-ATTRIBUTES
/SHOW-USER-ATTRIBUTES

BS2000

"Entering account numbers for system access via a remote computer"

Remove POSIX users

POSIX-ADMIN.

/MODIFY-POSIX-USER-ATTRIBUTES

BS2000

"Removing POSIX users"

Remove POSIX users

Root authorization

rmdir

POSIX shell

"Removing POSIX users"

Show information on entries in the user catalog for the own user IDs

Read user information in a program

STD-PROCESSING

/SHOW-USER-ATTRIBUTES
/SHOW-POSIX-USER-ATTRIBUTES

SRMUINF macro

BS2000

"SHOW-POSIX-USER-DEFAULTS Display default values for POSIX user attributes"

"SHOW-POSIX-USER-ATTRIBUTES Display POSIX user attributes"

"Reading user information by program"