LOGCTL command: Modifying file entries in the password table

From m204wiki
Jump to navigation Jump to search

Summary

Privileges
System manager
Function
Adds, deletes, or changes file entries in the password table

Syntax

LOGCTL {A | D | C} :filename [index]

Where:

filename is the name of the file entry to be added, deleted, or changed (1 to 8 characters). The file name must be preceded by a colon (:).
index is a single character indicating which file entry is being modified, and is either a digit 0-9 or a letter A-Z; index must be specified if the file has more than one password.

Example

LOGCTL C :TESTFILE

Usage notes

The LOGCTL command adds, deletes, or changes file entries in the password table. If add (A) or change (C) is specified, Model 204 prompts for information as shown below.

The system manager can change any of the following specifications in a file entry:

  • Password

  • Privileges

  • User class

  • Field-level security levels

  • Terminal list

Upon entry of the LOGCTL command, the system responds with a prompt in the following form:

*** M204.0374: ENTER FILE/GROUP PASSWORD, PRIVILEGES, CLASS, SELECT, READ, UPDATE, ADD password, X'pppp', ccc, sss,
rrr, uuu, aaa

Where:

password is the user's password (1 to 8 characters). It cannot contain blanks, commas, colons, or the LINEEND character.
pppp is the two-byte representation of the file privileges. (See the PRIVDEF parameter.)
ccc is the procedure user class.
sss is the field-level security SELECT level.
rrr is the field-level security READ level.
uuu is the field-level security UPDATE level.
aaa is the field-level security ADD level. (For information on field-level security, see the Model 204 System Manager's Guide.)

When a file entry is being added, the password is required and all other specifications are optional. Model 204 supplies default values of zero.

When a file entry is being changed, all specifications are optional. If the system manager does not supply a specification in the command, the existing specification in the password table is preserved, as described for login user IDs.