Grant locked-out user access to system
Component: | SRPMNUC |
Functional area: | User management |
Domain: | USER-ADMINISTRATION |
Privileges: | STD-PROCESSING |
Routing code: | $ |
Function
Using this command, systems support can specify that a user ID should be permitted to access the system again.
The temporary access lock for a user ID that was specified using the LOCK-USER command is canceled and the corresponding entry in the user catalog is updated. If the access lock applied to the home pubset, in which logon validation is carried out, the user’s access to the system (which was blocked) is enabled again.
Format
UNLOCK-USER |
USER-IDENTIFICATION = <name 1..8> ,PUBSET = *HOME / <cat-id 1..4> |
Operands
USER-IDENTIFICATION = <name 1..8>
ID of the user whose access lock is to be canceled.
PUBSET = *HOME / <cat-id 1..4>
Cancels the access lock for the user in the user catalog of the specified pubset.
PUBSET = *HOME
Specifies the user catalog of the home pubset.
Grant locked-out user access to system
Return codes
(SC2) | SC1 | Maincode | Meaning |
---|---|---|---|
0 | CMD0001 | No error | |
2 | 0 | SRM6001 | Command executed with a warning |
1 | SRM6010 | Syntax error | |
32 | SRM6020 | System error during command processing | |
64 | SRM6040 | Semantic error | |
130 | SRM6030 | Command cannot temporarily be executed |
Example
User ID COGNI1 is temporarily locked out of the system. This is indicated by the value of *YES in the USER-LOCKED output field of the user entry displayed by the SHOW-USERATTRIBUTES command. Then the lock is removed again and the user entry is redisplayed (the value in the USER-LOCKED output field is now *NO).
/show-user-attr cogni1
%SHOW-USER-ATTRIBUTES --- PUBSET 1OSH - USER COGNI1 2017-01-28 17:35:01 %------------------------------------------------------------------------------ %USER-ID USER1 PUBLIC-SPACE-USED 0 %GROUP-ID *UNIVERSAL PUBLIC-SPACE-LIMIT 0 %DEFAULT-PUBSET 2OSG PUBLIC-SPACE-EXCESS *NO %MAX-ACCOUNT-RECORDS 100 TEMP-SPACE-USED 0 %DEFAULT-MSG-LANGUAGE TEMP-SPACE-LIMIT 2147483647 % FILES 0 %PROTECTION-ATTRIBUTES... FILE-NUMBER-LIMIT 16777215 %LOGON-PASSWORD *YES JOB-VARIABLES 0 %PASSWORD-MGMT *BY-LOGON-PROTECT JV-NUMBER-LIMIT 16777215 %TAPE-ACCESS *PRIVILEGED RESIDENT-PAGES 32767 %FILE-AUDIT *NO ADDRESS-SPACE-LIMIT 256 % DMS-TUNING-RESOURCES *NONE %TEST-OPTIONS... CSTMP-MACRO-ALLOWED *NO %READ-PRIVILEGE 1 CODED-CHARACTER-SET EDF03IRV %WRITE-PRIVILEGE 1 PHYSICAL-ALLOCATION *NO %MODIFICATION *CONTROLLED USER-LOCKED *YES % CRYPTO-SESSION-USED 0 %AUDIT... CRYPTO-SESSION-LIMIT 128 %HARDWARE-AUDIT *ALLOWED NET-STORAGE-USAGE *ALLOWED %LINKAGE-AUDIT *ALLOWED NET-CODED-CHAR-SET *ISO % %PROFILE-ID *NONE %MAIL-ADDRESS HOLL INCOGNITO GMBH-OS-114 1230 MCH-P/AL %EMAIL-ADDRESS alfred.holl@incognito.de, % joachim.vogi@incognito.de, % johannes.kuli@incognito.de, % mathias.reh@incognito.de % %+---------+-----------+---------+--------+------------+-------+------+------+ %!ACCOUNT-#! CPU-LIMIT !SPOOLOUT-!MAX-RUN-!MAX-ALLOWED-!NO-CPU-!START-!INHIB-! %! ! ! CLASS !PRIORITY! CATEGORY ! LIMIT ! IMMED! DEACT! %+---------+-----------+---------+--------+------------+-------+------+------+ %! 89001 ! 2147476225! 1 ! 255 ! STD ! NO ! NO ! NO ! %+---------+-----------+---------+--------+------------+-------+------+------+ %DEFAULT-ACCOUNT-# FOR LOGON: *NONE %DEFAULT-ACCOUNT-# FOR REMOTE-LOGIN: *NONE % %DEFAULT-JOB-CLASS FOR BATCH-JOBS: JCB05000 %DEFAULT-JOB-CLASS FOR DIALOG-JOBS: JCDSTD %LIST OF JOB-CLASSES ALLOWED: %JCBNACHT JCBSHUT JCB00050 JCB00200 JCB02000 JCB05000 JCB10000 JCB32000 %JCDSTD %------------------------------------------------------------------------------ %SHOW-USER-ATTRIBUTES END OF DISPLAY FOR USER COGNI1 ON PUBSET 1OSH
/unlock-user cogni1
/show-user-attr cogni1
%SHOW-USER-ATTRIBUTES --- PUBSET 1OSH - USER COGNI1 2017-01-28 17:35:28 %------------------------------------------------------------------------------ %USER-ID USER1 PUBLIC-SPACE-USED 0 %GROUP-ID *UNIVERSAL PUBLIC-SPACE-LIMIT 0 %DEFAULT-PUBSET 2OSG PUBLIC-SPACE-EXCESS *NO %MAX-ACCOUNT-RECORDS 100 TEMP-SPACE-USED 0 %DEFAULT-MSG-LANGUAGE TEMP-SPACE-LIMIT 2147483647 % FILES 0 %PROTECTION-ATTRIBUTES... FILE-NUMBER-LIMIT 16777215 %LOGON-PASSWORD *YES JOB-VARIABLES 0 %PASSWORD-MGMT *BY-LOGON-PROTECT JV-NUMBER-LIMIT 16777215 %TAPE-ACCESS *PRIVILEGED RESIDENT-PAGES 32767 %FILE-AUDIT *NO ADDRESS-SPACE-LIMIT 256 % DMS-TUNING-RESOURCES *NONE %TEST-OPTIONS... CSTMP-MACRO-ALLOWED *NO %READ-PRIVILEGE 1 CODED-CHARACTER-SET EDF03IRV %WRITE-PRIVILEGE 1 PHYSICAL-ALLOCATION *NO %MODIFICATION *CONTROLLED USER-LOCKED *NO % CRYPTO-SESSION-USED 0 %AUDIT... CRYPTO-SESSION-LIMIT 128 %HARDWARE-AUDIT *ALLOWED NET-STORAGE-USAGE *ALLOWED %LINKAGE-AUDIT *ALLOWED NET-CODED-CHAR-SET *ISO % %PROFILE-ID *NONE %MAIL-ADDRESS HOLL INCOGNITO GMBH-OS-114 1230 MCH-P/AL %EMAIL-ADDRESS alfred.holl@incognito.de, % joachim.vogi@incognito.de, % johannes.kuli@incognito.de, % mathias.reh@incognito.de % %+---------+-----------+---------+--------+------------+-------+------+------+ %!ACCOUNT-#! CPU-LIMIT !SPOOLOUT-!MAX-RUN-!MAX-ALLOWED-!NO-CPU-!START-!INHIB-! %! ! ! CLASS !PRIORITY! CATEGORY ! LIMIT ! IMMED! DEACT! %+---------+-----------+---------+--------+------------+-------+------+------+ %! 89001 ! 2147476225! 1 ! 255 ! STD ! NO ! NO ! NO ! %+---------+-----------+---------+--------+------------+-------+------+------+ %DEFAULT-ACCOUNT-# FOR LOGON: *NONE %DEFAULT-ACCOUNT-# FOR REMOTE-LOGIN: *NONE % %DEFAULT-JOB-CLASS FOR BATCH-JOBS: JCB05000 %DEFAULT-JOB-CLASS FOR DIALOG-JOBS: JCDSTD %LIST OF JOB-CLASSES ALLOWED: %JCBNACHT JCBSHUT JCB00050 JCB00200 JCB02000 JCB05000 JCB10000 JCB32000 %JCDSTD %------------------------------------------------------------------------------ %SHOW-USER-ATTRIBUTES END OF DISPLAY FOR USER COGNI1 ON PUBSET 1OSH