LOGCTL command: Modifying group entries in the password table: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
(Automatically generated page update)
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
<dd>Adds, deletes, or changes group entries in the password table
<dd>Adds, deletes, or changes group entries in the password table
</dl>
</dl>
==Syntax==
==Syntax==
<p class="syntax">LOGCTL {A | D | C} ,<i>groupname</i> [<i>index</i>]
<p class="syntax">LOGCTL {A | D | C} ,<span class="term">groupname</span> [<span class="term">index</span>]
</p>
</p>
   
   
<b>Where:</b>
Where:
<table>  
<table>  
<tr>
<tr>
Line 20: Line 21:
<th>index</th>
<th>index</th>
<td> 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.</td>
<td> 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.</td>
</tr>
</tr>  
</table>
</table>
==Example==
==Example==
<p class="code">LOGCTL C ,PRMGROUP
<p class="code">LOGCTL C ,PRMGROUP
</p>
</p>
==Usage notes==
==Usage notes==
<p>The LOGCTL command adds, deletes, or changes group entries in the password table. If add (A) or change (C) is specified, <var class="product">Model&nbsp;204</var> prompts for information as shown in the dialog below.</p>
<ul>
<p>The system manager can change any of the following specifications in a group entry: </p>
<li>The <var>LOGCTL</var> command adds, deletes, or changes group entries in the password table. If add (<var>A</var>) or change (<var>C</var>) is specified, <var class="product">Model&nbsp;204</var> prompts for information as shown in the dialog below.
<p>
The system manager can change any of the following specifications in a group entry: </p>
<ul>  
<ul>  
<li>
<li>Password</li>
<p>Password</p>
</li>
   
   
<li>
<li>Privileges</li>
<p>Privileges</p>
</li>
   
   
<li>
<li>User class</li>
<p>User class</p>
</li>
   
   
<li>
<li>Field level security levels</li>
<p>Field level security levels</p>
</li>
   
   
<li>
<li>Terminal list</li>
<p>Terminal list</p>
</ul></li>
</li>
 
</ul>
<li>Upon entry of the <var>LOGCTL</var> command, the system responds with a prompt in the following form:  
<p>Upon entry of the LOGCTL command, the system responds with a prompt in the following form: </p>
<p class="code">*** M204.0374: ENTER FILE/GROUP PASSWORD, PRIVILEGES, CLASS, SELECT, READ, UPDATE, <br>   ADD <i>password</i>, X'<i>pppp</i>', <i>ccc</i>, <i>sss</i>, <i>rrr</i>, <i>uuu</i>, <i>aaa</i>  
<p class="code">*** M204.0374: ENTER FILE/GROUP PASSWORD,PRIVILEGES, CLASS, SELECT, READ, UPDATE, ADD <i>pass</i><i>word</i>,X'<i>pppp</i>',<i>ccc</i>,<i>sss</i>,<i>rrr</i>,<i>uuu</i>,<i>aaa</i>  
</p>
</p>
   
   
<b>Where:</b>
Where:
<table>  
<table>  
<tr>
<tr>
<th>password</th>
<th>password</th>
<td> is the user's password (1 to 8 characters). It cannot contain blanks, commas, or colons.</td>
<td>The user's password (1 to 8 characters). It cannot contain blanks, commas, or colons.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>pppp</th>
<th>pppp</th>
<td> is the two-byte representation of the group privileges. (See [[PRIVDEF parameter|PRIVDEF: Default user privileges]].)</td>
<td>The two-byte representation of the group privileges. (See [[PRIVDEF parameter|PRIVDEF: Default user privileges]].)</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>ccc</th>
<th>ccc</th>
<td> is the procedure user class.</td>
<td>The procedure user class.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>sss</th>
<th>sss</th>
<td> is the field-level security SELECT level.</td>
<td>The [[Model 204 security features#Field-level security|field-level security]] SELECT level.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>rrr</th>
<th>rrr</th>
<td> is the field-level security READ level.</td>
<td>The field-level security READ level.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>uuu</th>
<th>uuu</th>
<td> is the field-level security UPDATE level.</td>
<td>The field-level security UPDATE level.</td>
</tr>
</tr>
   
   
<tr>
<tr>
<th>aaa</th>
<th>aaa</th>
<td> is the field-level security ADD level.   (For information on field-level security, see the <var class="product">Model&nbsp;204</var> System Manager's Guide.) </td>
<td>The field-level security ADD level. </td>
</tr>
</tr>
</table>
</table>
<p>When a group entry is being added, the password is required and all other specifications are optional. <var class="product">Model&nbsp;204</var> supplies default values of zero.</p>
<p>
<p>When a group 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&nbsp;IDs.</p>
When a group entry is being added, the password is required and all other specifications are optional. <var class="product">Model&nbsp;204</var> supplies default values of zero.</p>
<p class="note"><b>Note:</b> While the LOGCTL command is being processed, any attempts to log in fail.     </p>
<p>When a group 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.</p>
<p class="note"><b>Note:</b> While the <var>LOGCTL</var> command is being processed, any attempts to log in fail. </p>
 
==See also==
<ul>
<li>[[LOGCTL command: Modifying file entries in the password table]] </li>
<li>[[LOGCTL command: Modifying user ID entries in the password table]] </li>
</ul>
 
[[Category: System manager commands]]
[[Category: System manager commands]]
[[Category:Commands]]
[[Category:Commands]]

Latest revision as of 20:43, 7 April 2017

Summary

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

Syntax

LOGCTL {A | D | C} ,groupname [index]

Where:

groupname is the name of the group entry to be added, deleted, or changed (1 to 8 characters). A comma must precede the group name.
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 ,PRMGROUP

Usage notes

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

    The system manager can change any of the following specifications in a group 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, or colons.
    pppp The two-byte representation of the group privileges. (See PRIVDEF: Default user privileges.)
    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.

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

    When a group 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.

    Note: While the LOGCTL command is being processed, any attempts to log in fail.

    See also