Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Passwords

&pagelevel(4)&pagelevel

PASSWORD processes file passwords and LOGON passwords.

File passwords protect files against

  • unauthorized writing (write password, WRITE-PASSWORD operand of /MODIFY-FILE-ATTRIBUTES)

  • unauthorized reading (read password, READ-PASSWORD operand of /MODIFY-FILE-ATTRIBUTES)

  • unauthorized execution in the case of program and procedure files (execute password, EXEC-PASSWORD operand of /MODIFY-FILE-ATTRIBUTES).

The power of these file passwords is weighted with respect to access. Write passwords are the most powerful, read passwords the next most powerful, then execute passwords. A less powerful password does not have to be specified explicitly if a more powerful one has already been specified.

File passwords are defined for one or more files. A check is made for the presence of the correct passwords prior to execution of the system commands /START-EXECUTABLE-PROGRAM, /LOAD-EXECUTABLE-PROGRAM, /MODIFY-FILE-ATTRIBUTES, /DELETE-FILE, /CREATE-FILE, /ADD-FILE-LINK, /COPY-FILE, /SHOW-FILE, and also at file opening.

To avoid repeated specification of file passwords for system commands, the password can be written to the password table during task execution. This table is then searched for the appropriate password whenever a password-protected file is to be processed.

The LOGON password is a password that must be entered with /SET-LOGON-PARAMETERS in order to ensure that only authorized users may work under a particular user ID.

LOGON passwords contained in ENTER jobs are evaluated only if the ENTER job was called from a console. Otherwise all LOGON operands specified in the ENTER job, including the LOGON password, are ignored.

Format conventions for passwords

File passwords and job variable passwords must not exceed 4 bytes in length. They are represented in the following format:

C'x'

where x stands for 1 to 4 alphanumeric or special characters.

X'n'

where n stands for 1 to 8 hexadecimal digits.

d

where d stands for a decimal number of up to 8 digits (with or without a positive or negative sign) whose value is converted into a binary value.

 

LOGON passwords may be between 1 and 32 characters long. The passwords are represented in the following format:

C'x'

where x stands for 1 to 32 alphanumeric or special characters

X'n'

where n stands for 1 to 16 hexadecimal digits.

PASSWORD still only process LOGON passwords that are between 1 and 8 characters long. Longer LOGON Passwords must be abbreviated to 8 characters beforehand. The software product SDF-P provides the predefined function HASH-STRING() function which can be used to carry out this conversion. (Example see "ENCRYPTJ - Encrypt specified LOGON password").For further details regarding “long passwords” see also /MODIFY-USER-PROTECTION in the “Commands” manual [1 (Related publications)]).