LOGCTL command: Modifying file entries in the password table

From m204wiki
Revision as of 23:07, 14 November 2014 by JAL (talk | contribs) (remove Sys Man guide)
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 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 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 The user's password (1 to 8 characters). It cannot contain blanks, commas, colons, or the LINEEND character.
pppp The two-byte representation of the file privileges. (See the PRIVDEF parameter.)
ccc The procedure user class.
sss The field-level security SELECT level.
rrr The field-level security READ level.
uuu The field-level security UPDATE level.
aaa The field-level security ADD level. (For information on field-level security, see Field-level security.)

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.