HPlogo Using HP 3000 MPE/iX:\Advanced Skills Tutorial: HP 3000 MPE/iX Computer Systems > Chapter 8 Solutions

Solutions to Module 1: Account Management

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

Check Your Answers

 Is Your Answer ... ?If Not, Start With
1.

AM = Account Manager

AL = Account Librarian

GL = Group Librarian

ND = *Nonshareable Devices

SF = *Save File

BA = *Batch Access

IA = *Interactive Access

PH = Process Handling

* indicates default capability

Lesson 1
2.

Indicate account manager, general user, or system manager:

  1. List information on their account (AM, GU, SM)

  2. Change their account capabilities (SM)

  3. List their account password (AM, SM)

  4. Change their account password (SM)

Lesson 1
3.

REPORT and LISTGROUP

Lesson 2
4.

NEWGROUP OURGROUP;PASS=PW;

ACCESS=(R,W,X:GL)

Lesson 2
5.

ALTGROUP and PURGEGROUP

Lesson 2
6.

ALTSEC

Lesson 2
7.

NEWUSER JEAN;PASS=OPEN;HOME=CLASS

Lesson 3
8.

The MKACCT command file

Lesson 3
9.

ALTUSER JEAN;PASS=CLOSE PURGEUSER JEAN

Lesson 3

Lesson 1 Managing Your Account

Q 1-1

CodeCapability
AMAccount manager
ALAccount librarian
GLGroup librarian
NDNonshareable devices (such as a tape drive or hot printer)
SFSave files
BABatch access (for running jobs)
IAInteractive access
PHProcess handling (needed for programming functions)

Q 1-2

No. Since PM is not one of your account's capabilities, no user may have this capability.

Q 1-3

Access is restricted to member of this account.

Q 1-4

e. all of the above.

Exercise 1-1: Lesson 1 Review

 TaskAccount ManagerUserSystem Operations
1.List information for a user's account.XXX
2.Set account passwords.  X
3.Change user passwords.XXX
4.List account capabilities.XXX
5.Show jobs and sessions currently running on system.XXX
6.Change account capabilities.  X
7.Use the LISTACCT command to list the account password.X X
8.Set session and job limits.  X

************ End of Exercise 1-1 ***********

Lesson 2 Managing Groups

Q 1-5

a.Most CPU time: PUB Group
b.Most file space: CLASS Group
c.Least connect time: PROJECT Group

Q 1-6

A user having account manager capability is able to list information for all groups within an account.

Users without account manager capability may only list information for their current group.

Q 1-7

CodeCapability
PHProcess handling
IAInteractive access
BABatch access
PMPrivileged mode
MRMultiple RINS
DSExtra data segments

Q 1-8

CodeCapability
ANYAny user (on the system)
ACAny user in the account
GUGroup user
ALAccount librarian
GLGroup librarian
CRCreating user

Exercise 1-2: Using NEWGROUP

1.

NEWGROUP STOP

2a.

Default capabilities assigned: IA and BA

2b.

Default file access and user codes: Read, Lock, Append, Write, Execute, and Save for any user in the group.

2c.

To check on the group's password: LISTGROUP STOP;PASS

3.

NEWGROUP GO;PASS=FAST;CAP=IA,BA,PH

4.

LISTGROUP GO;PASS

5.

NEWGROUP SLOW;PASS=DOWN; ACCESS=(R,L,A,W,X,S:GL)

6.

LISTGROUP SLOW;PASS

*********** End of Exercise 1-2 ************

Exercise 1-3: Using ALTGROUP

1a.

ALTGROUP PROJECT;PASS=PJ

1b.

ALTGROUP GO;CAP=

1c.

ALTGROUP SLOW;ACCESS=(R,W,A,X:GU)

This results in no user having Lock or Save access to the group. More specifically, account users (except AM) cannot create permanent files without Save access to the group.

1d.

ALTGROUP SLOW;PASS=

3.

LISTGROUP or LISTGROUP groupname

************* End of Exercise 1-3 ************

Exercise 1-4: Using ALTSEC

  1. for example:

       ALTSECT !!myfile!!;NEWACD=(R,W:!!mylogon.myaccount!!)
    
  2. for example:

       ALTSECT !!myfile!!;ADDPAIR=(R:!!username.accountname!!)
    

************* End of Exercise 1-4 ************

Exercise 1-4: Lesson 2 Review

  1. LISTGROUP

  2. ALTGROUP

  3. REPORT

  4. NEWGROUP

  5. LISTGROUP name;PASS

  6. ALTSEC

  7. VERSION

  8. PURGEGROUP

************ End of Exercise 1-4 ************

Lesson 3 Managing Users

Q 1-9

LISTUSER displays information about one or more users in an account or on a system.

Exercise 1-5: Using LISTUSER

1.

These LISTUSER parameters are optional:

The name(s) of the user(s) and account(s), the output file name, and the keyword, PASS.

2.

The parameters default to these values:

The name of the user and account will be all of the users in your logon account.

PASS will be ignored, and no password will be displayed.

3a.

There is one user: USERx(x=your particular student number)

3b.

You would use this command to list all the users on the system:

   LISTUSER @.@

You would need system manager (SM) capability in order to do this.

4.

The system writes user information to the INFO file. Check this by entering PRINT INFO. If you leave out the comma, the system attempts to locate the user INFO and display this message:

   NON-EXISTENT USER
5.

LISTUSER @.@ executes only if you have SM capability.

6.

This LISTUSER command lets you display the passwords associated with the users in the account:

   LISTUSER @.ACCTx;PASS

You need at least AM or SM capabilities to list the passwords.

*********** End of Exercise 1-5 **********

Q 1-10

The capability codes are: AM, ND, SF, BA, IA, PH

The capability codes mean the following:

  1. AM - account manager

  2. ND - nonshareable devices

  3. SF - save files

  4. BA - batch access

  5. IA - interactive access

  6. PH - process handling

Q 1-11

To list all the users on your account, you must have AM capabilities.

To list all the users on the system, you must have SM capabilities.

Q 1-12

If you have neither AM nor SM capabilities, you can list the capabilities of your current user.

Q 1-13

To change MYUSER's password to MYPASS, you would use this command:

ALTUSER MYUSER.ACCTx; PASS=MYPASS

  1. After you make this change, MYUSER remains logged on; however, when MYUSER logs off and tries to log on again, he or she must specify the new password.

  2. You must have AM capabilities.

    You must have SM capabilities if you are in a different account.

Q 1-14

The new user has the following capabilities:

   ND, SF, BA, IA.
Q 1-15

You get this error message:

USER CAPABILITY REQUESTED EXCEED ACCOUNT CAPABILITIES CV, UV NOT GRANTED (CIWARN 794)

Since the ACCTx account does not have CV capabilities, no user in the account can have those capabilities.

The user, USERxB, has been created; however, it does not have CV capabilities. It has instead ND, SF, BA, IA, and PH capabilities.

Feedback to webmaster