HP 3000 Manuals

NEWGROUP [ HP 3000 Series 9X8LX Computer Systems Commands Reference ] MPE/iX 5.0 Documentation


HP 3000 Series 9X8LX Computer Systems Commands Reference

NEWGROUP 

The NEWGROUP command creates a new group within an existing account. 

Syntax 

NEWGROUP groupname[.acctname] [;PASS=[password]]

[;CAP=[capabilitylist]][;ACCESS=[(fileaccess)]]

Parameters 

groupname             Specifies the name of the new group, which must
                      consist of from one to eight alphanumeric
                      characters, beginning with an alphabetic character.

acctname              Specifies the account in which the group is to
                      reside.  You must have system manager (SM)
                      capability to use this parameter.

PASS                  Specifies the group password, used for verifying
                      logon access only.  The default is that no password
                      is assigned.

CAP                   Lists capability class attributes consisting of any
                      or all of the following:

                           BA  =  Local batch access (default)
                           DS  =  Extra data segments
                           IA  =  Interactive access (default)
                           MR  =  Multiple RINS
                           PH  =  Process handling
                           PM  =  Privileged mode

                      This list imposes a limit on program files
                      belonging to the group.  You cannot assign a
                      capability to the group if it has not been defined
                      for the account in which the group resides.

ACCESS                Specifies the restriction on file access pertinent
                      to this group.  Valid syntax options are as
                      follows:

                      {R}          {ANY}
                      {L}          {AC }
                      {A} [,...]:  {GU } [,...]
                      {W}          {AL }
                      {X}          {GL }
                      where R, L, A, W, and X specify modes of access by
                      types of users (ANY, AC, GU, AL, and GL) and are
                      defined as follows:

                           R   =   Read
                           L   =   Lock (exclusive file access)
                           A   =   Append (implies L)
                           W   =   Write (implies A and L)
                           X   =   Execute
                           S   =   Save

                      The user types are defined as follows:

                           ANY =   Any user
                           AC  =   Member of this account only
                           GU  =   Member of this group only
                           AL  =   Account librarian user only
                           GL  =   Group librarian user only

                      You can specify two or more user or access types if
                      you separate them with commas.

                      The defaults for the public group (PUB) are:

                           R,X:ANY; A,W,L,S:AL,GU

                      The default for all other groups is:

                           R,A,W,L,X,S:GU

Operation Notes 

   *   Usage 

       You can enter this command from a session, a job, a program, or in
       break mode.  Pressing Break does not affect this command.

       You must have account manager (AM) or system manager (SM)
       capability in order to use this command.

   *   Creating the group structure 

       The system administrator creates accounts and designates someone,
       called the account manager, to manage the accounts.  As an account
       manager, you can use the NEWGROUP command to create groups within
       each account and to assign attributes.

       The attributes assigned to the group may not exceed those
       permitted for the accounts themselves (defined when the system
       administrator created the accounts); however, within account
       limits, you can redefine the group and user attributes and
       capabilities, as well as those of the PUB group.

   *   PUB group 

       The PUB group is initially assigned the same capability class
       attributes, permanent file space limit, CPU limit, and
       connect-time limit as the account, but without a password.  Its
       initial security allows read (R) and execute (X) access to all
       users (ANY) who successfully log on to the account, and append
       (A), write (W), lock (L), and save (S) access to the account
       librarian (AL) and group users (GU) only.

       These access provisions are as follows:

            R,X:ANY;A,W,L,S:AL,GU

   *   Parameter omissions 

       When you specify a parameter but omit its corresponding value (as
       in ACCESS= Return), the default value for the parameter is
       assigned (in this case, R,L,A,W,X:AC). The default is also
       assigned when you omit an entire parameter group (such as
       ACCESS=fileaccess).

Examples 

   *   To create a new group named GROUP1 with all default capabilities,
       enter:

            :NEWGROUP GROUP1 

   *   To create a new group named G2 in the account WISDOM and assign it
       process handling (PH) and multiple RINs (MR) capabilities while
       retaining the default capabilities, enter:

            :NEWGROUP G2.WISDOM;CAP=PH,MR,IA,BA 

Related Commands 

     ALTGROUP
     LISTGROUP
     NEWACCT
     NEWUSER



MPE/iX 5.0 Documentation