LOGKEY command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
Line 57: Line 57:
<p>Sometimes the system manager might want to examine the status of the password table, but might not want to change the key. When <var class="product">Model&nbsp;204</var> prompts for a new key, the system manager simply presses Return.</p>
<p>Sometimes the system manager might want to examine the status of the password table, but might not want to change the key. When <var class="product">Model&nbsp;204</var> prompts for a new key, the system manager simply presses Return.</p>
<p>If the system manager specifies a new key, it is written into a special field in the password table. When a secured file is opened, the password in the file's File Control Table (FCT) is checked against this stored key. The file is opened only if the password matches this key.</p>
<p>If the system manager specifies a new key, it is written into a special field in the password table. When a secured file is opened, the password in the file's File Control Table (FCT) is checked against this stored key. The file is opened only if the password matches this key.</p>
<p>After a key has been changed, files secured under the old key cannot be opened unless the old key is renewed. For a discussion of secured files, refer to the <var>[[SECURE FILE command|SECURE FILE]]</var> command and to [[Security#File security|File security]].</p>
<p>After a key has been changed, files secured under the old key cannot be opened unless the old key is renewed. For a discussion of secured files, refer to the <var>[[SECURE FILE command|SECURE FILE]]</var> command and to [[Model 204 security features#File security|File security]].</p>


[[Category: System manager commands]]
[[Category: System manager commands]]
[[Category:Commands]]
[[Category:Commands]]

Revision as of 20:43, 7 April 2017

Summary

Privileges
System manager
Function
Enter or changes the password table key

Format

LOGKEY

Example

LOGKEY 89.087 16:58.51, 89.220 12:34:30 DOSRV ,OS7U08,DOSRV.M204.CCASTAT *** M204.0367: ENTER TABLE KEY OR RETURN ROSEPETE

Usage notes

The LOGKEY command specifies or changes the password table key. This key is stored in the Model 204 password table and serves as the key for securing files. Model 204 supplies a default initial key, X'04CCBFEA25186954'. Model 204 displays data about the current status of the password table as:

yy.ddd hh:mm:ss, yy.ddd hh:mm:ss jjjjjjjj,vvvvvv,dsn

Where:

yy.ddd hh:mm:ss (first) is the date and time that the table was created.
yy.ddd hh:mm:ss (second) is the date and time that the table was updated.
jjjjjjjj is the name of the last job that updated the table.
vvvvvv is the volume serial number for the password table data set.
dsn is the data set name.

The system prompt for a new logkey takes the following form:

ENTER TABLE KEY OR RETURN [newkey]

where newkey is the new password table key (1 to 8 characters). The key cannot contain blanks, commas, or colons. If a new key is not specified, the old key is preserved.

Sometimes the system manager might want to examine the status of the password table, but might not want to change the key. When Model 204 prompts for a new key, the system manager simply presses Return.

If the system manager specifies a new key, it is written into a special field in the password table. When a secured file is opened, the password in the file's File Control Table (FCT) is checked against this stored key. The file is opened only if the password matches this key.

After a key has been changed, files secured under the old key cannot be opened unless the old key is renewed. For a discussion of secured files, refer to the SECURE FILE command and to File security.