HPlogo Task Reference: HP 3000 Series 9X8LX Computer Systems > Chapter 2 Performing Tasks Using MPE/iX Commands

Creating a Practice Account

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

Before you can use the system to perform tasks, you can create a practice account. You can practice executing commands and creating files in your practice account.

To create a practice account using MKACCT

What you will do

  • You will call the account that you create PRACTICE.

    • To protect this account you will give it the password NOW.

    • Every account needs a manager, a special user who is in charge of the account. You will call this special user MGR.

    • You will give user MGR the password FY91.

  • In the PRACTICE account, you will create two groups:

    • You will call the first group TAXES.

    • You will call the second group BUDGET.

    • Because group TAXES might contain sensitive information, you will give it password, TX1992.

    Every time that you create an account, such as PRACTICE, the computer automatically creates a PUB group in that account. Every user of an account can log on to the PUB group of that account, unless you later assign a password to the PUB group.

    You do not have files to put into any of these groups. Eventually, however, files that hold tax records might go into the TAXES group. Files that hold monthly budget information might go into BUDGET.

  • You will create two users who will be able to log on to one of the groups in account PRACTICE.

  • You will call the first user BARB.

  • You will call the second user JIM.

You could give each of these users a password, too; but for this exercise, you will leave them without passwords.

  • Because user BARB will need to use the TAX group a lot, you will assign group TAX as the home group for user BARB.

  • Because user JIM rarely needs to look at financial files, you will assign group PUB as the home group for user JIM.

  • Finally, you will exit from the MKACCT command file and examine two special files that MKACCT has created.

  • The first file, called CMDLOG, contains a chronological record of the MPE/iX commands that will have been used by MKACCT to create the account, its groups, and its users.

  • The second file, called ACCTLOG, contains an outline of the account, groups, users, passwords, and home groups that you will have created by using MKACCT. It is very similar in structure to the worksheet for accounts at the end of this section.

Only those accounts created with MKACCT; will be recorded in ACCTLOG. Only those commands used by MKACCT will be recorded in CMDLOG. If you use MPE/iX commands to create additional accounts, there will be no file record of your accounts and the commands that you used.

  1. Make sure that you are logged on as MANAGER.SYS.

    If you are not logged on as MANAGER.SYS, enter this:

       HELLO MANAGER.SYS Return
    
  2. Start MKACCT now by entering the following:

       MKACCT Return
    
  3. Read the information screens at the beginning of the routine, and use the instructions provided here to guide you along.

    At each information screen, type Yes Return. This action scrolls to the next screen.

  4. After you have read all of the information screens, the following question appears on your screen:

    Do you want to create a new {{account}} (Yes,No,Exit)?
  5. Type Yes Return. This action initiates the MKACCT process for creating an account.

    You must now respond to a sequence of prompts requesting a name for the account, a name for the account manager, and a password for the account and account manager. Passwords are optional.

    The following example displays the sequence of prompts that appear, along with sample user responses:

       Do you want to create a new {{account}} (Yes,No,Exit)?Yes Return
    
    
    
       Every ACCOUNT must be named and must include a manager (USER).  
    
       Every account and manager should have a password.  Accounts 
    
       and user without passwords are not secure.
    
    
    
       If there are any problems, you will be asked to repeat the 
    
       process.
    
    
    
       Please enter a name for this ACCOUNT: PRACTICE Return
    
    
    
       Please enter a password for account PRACTICE: NOW Return
    
    
    
       Please enter a manager name for account PRACTICE: MGR Return
    
    
    
       Please enter a password for account manager MGR: FY91 Return
    
  6. After entering a password for the account manager, a screen similar to the following appears:

       The following account and user will be created:
    
    
    
       Account name          :PRACTICE
    
       Account password      :NOW
    
    
    
       Manager name          :MGR
    
       Manager password      :FY91
    
    
    
       Create the ACCOUNT (Yes,No,Exit)? Yes Return
    
  7. Type Yes Return. Doing this completes the creation of the account, the account's password, the account manager, and the account manager's password.

  8. MKACCT then asks, Do you want to create a new {{group}} in the PRACTICE account (Yes,No,Exit)?.

  9. Type Yes Return, at this prompt.

    The MKACCT process for creating groups is similar to the process for creating accounts. You must provide a group name and password (optional) when prompted.

  10. You are asked for the name of a group and for the password for the group.

    1. To the first prompt (name of group), type TAX Return.

    2. To the second prompt (password), type TX1992 Return.

    
    
       Please enter a name for this GROUP: TAX Return
    
    
    
       Please enter a password for group TAX: TX1992 Return
    
    
    
  11. You are asked to confirm the creation of the new group and its password.

       The following group will be added to the PRACTICE account:
    
    
    
       Group name    : TAX
    
       Group password: TX1992
    
    
    
       Create this group (Yes,No,Exit)? Yes Return
    
    
    
  12. Type Yes Return to complete the creation of group TAX and its password TX1992.

  13. You are asked whether you want to create (another) new group in PRACTICE.

  14. Type Yes Return.

  15. Again you are asked to enter the name and password for a new group.

    1. To the first prompt (name of group), type BUDGET Return.

    2. To the second prompt (password), press Return.

       Every GROUP must have a name and should have a password.
    
    
    
       Please enter a name for this GROUP: BUDGET Return
    
    
    
       Please enter a password for group BUDGET: Return
    
    
    

    By entering only Return when asked for the BUDGET password, you indicate that you want no password at all.

  16. Once more you are asked to confirm the creation of the new group and its password.

  17. Type Yes Return.

       The following group will be added to the PRACTICE account:
    
    
    
       Group name    : BUDGET
    
       Group password: 
    
    
    
       Create this group (Yes,No,Exit)? Yes Return
    
    
    
  18. You are asked whether you want to create a new (another) group in PRACTICE.

  19. Type No Return to stop creating groups and to move on to creating users.

  20. Now you are asked whether you want to create a new user.

  21. Type Yes Return.

  22. You are asked to give the new user a name and to give the new user a password.

    1. To the first prompt (name of user), type BARB Return.

    2. To the second prompt (password), press Return.

    
    
    Please enter a name for this USER: BARB Return
    
    
    
    Please enter a password for user BARB: Return
    
    
    
  23. You are asked to assign a home group to the user that you have created.

  24. You are asked the following:

       Do you want to see a list of the {{GROUPS}} in the
    
       PRACTICE account (Yes,No,Exit)?
    
  25. Type Yes Return.

    You will see a list of the groups you have created in account PRACTICE.

    
    
    Here are the groups that exist in the PRACTICE account:
    
    PUB                            TAX
    
    BUDGET
    
    
    

    The list includes the PUB group, which is created automatically whenever you create an account.

  26. You are prompted this way for a home group:

       Please enter a home group for user BARB: 
    

    You are free to choose any one of the groups that you see named, but for this exercise, follow the directions here.

  27. Type TAX Return.

    By doing this, you assign user BARB to a home group, the group TAX.

  28. Now you are asked whether you want to create a new user.

  29. Type Yes Return.

    
    
       Please enter a name for this USER: JIM Return
    
    
    
       Please enter a password for user JIM: Return
    
  30. Again you are asked to assign a home group to the user that you created.

  31. You are asked for a home group for user JIM.

  32. Type PUB Return

  33. Again you are asked whether you want to create a new user.

  34. Type No Return.

    This action stops the creation of users and allows you to create a (another) new account.

  35. You are asked if you want to create a new account.

  36. Type EXIT Return.

    This action causes MKACCT to ask for confirmation that you really want to exit.

  37. Type EXIT Return to confirm the exit.

    MKACCT has one more task. It shows you a screen of information like this:

       *************************************************************
    
       * MKACCT has kept a record of your work.  It produced two    *
    
       * files in the PUB group that you may want to examine now    *
    
       * or sometime later.  These files contain all of the work    *
    
       * that you have done by using MKACCT.                        *
    
       *                                                            *
    
       *                                                            *
    
       * CMDLOG   Contains the MPE/iX commands that were needed at  *
    
       *          each step along the way to create ACCOUNTS,       *
    
       *          GROUPS, USERS and passwords.                      *
    
       *                                                            *
    
       * ACCTLOG  Contains a summary of the account structure that  *
    
       *          you have created, showing ACCOUNTS, their GROUPS, *
    
       *          their USERS, all passwords, and the HOME GROUP    *
    
       *          to which each user of each account was assigned.  *
    
       *                                                            *
    
       * To see these two files enter:                              *
    
       *                                                            *
    
       * :PRINT cmdlog.pub                                          *
    
       * :PRINT acctlog.pub                                         *
    
       *                                                            *
    
       * Since these files contain passwords, it is your            *
    
       * responsibility as system manager to keep this information  *
    
       * safe from misuse.                                          *
    
       *                                                            *
    
       **************************************************************
    
    
    
       Please press {{RETURN}} to continue
    
  38. After carefully reading this screen, press Return to view the next screen. To get to the system prompt, press Return again.

    The following message appears on your screen, and you are returned the system prompt:

       End of the MKACCT command file.
    
       :_
    

Viewing your log files

To see what you have accomplished, follow these steps:

  1. Type PRINT ACCTLOG Return.

    The file ACCTLOG appears on your screen and shows you an outline of the account that you have created, its groups, its users and their home groups, and any passwords that you have assigned.

  2. Type: PRINT CMDLOG Return

    The file CMDLOG appears on your screen and shows you a chronological list of the MPE/iX commands that MKACCT executed on your behalf as it created your account, its groups, users, home groups, and passwords.

Each time that you use MKACCT, it adds information to these files and shows you first the date and time that you used MKACCT and, second, what you accomplished. The files ACCTLOG and CMDLOG grows each time that you use MKACCT.

Logging on in the PRACTICE account

After you have created the PRACTICE account, users MGR, BARB, and JIM will be able to log on to account PRACTICE and begin work there.

UserLog onDestination
MGRHELLO MGR.PRACTICEReturnLogs user MGR into the PUB group of PRACTICE.
BARBHELLO BARB.PRACTICEReturnLogs user BARB into the TAX group of PRACTICE.
 HELLO BARB.PRACTICE,BUDGETReturnLogs user BARB into the BUDGET group of PRACTICE
JIMHELLO JIM.PRACTICEReturnLogs user JIM into the PUB group of PRACTICE.
 HELLO JIM.PRACTICE,BUDGETReturnLogs user JIM into the BUDGET group of PRACTICE.

Each of these logons prompts the user for one or more passwords.

  • MGR, BARB, and JIM will need to know the password for account PRACTICE in order to log on at all.

  • MGR will need to know the manager password in order to log on.

  • JIM would have to know the password for TAX in order to log on in that group.

  • BARB, however, does not need to the know the password for TAX in order to log on in that group, because it is her home group.

To print your account structure information

When you have exited MKACCT, you can print your log files on paper.

  • To print ACCTLOG.PUB.SYS on paper, enter the following commands:

       :FILE LP;DEV=LP
    
       :PRINT ACCTLOG.PUB.SYS,*LP
    
  • To print CMDLOG.PUB.SYS on paper, enter the following commands:

       :FILE LP;DEV=LP
    
       :PRINT CMDLOG.PUB.SYS,
    
  • LP

This program can be used as often as you like. It is designed to create your new accounting structure, but it can also be used to add to your structure at a later date.

  • To delete any portion of your account structure, refer to the PURGEACCT, PURGEGROUP or PURGEUSER commands in the manual, Commands Reference - HP 3000 Series 9X8LX (B3813-90011).

  • To modify capabilities or file access for any account, group, or user, refer to the ALTACCT, ALTGROUP, or ALTUSER commands in the manual, Commands Reference - HP 3000 Series 9X8LX (B3813-90011).

  • To change a password, refer to the PASSWORD command in the manual Commands Reference - HP 3000 Series 9X8LX (B3813-90011).

When you have finished creating the account PRACTICE and you have examined the two log files, you are ready to add more accounts, groups, and users to your account structure.

  1. Start the MKACCT command file. Use it as you did to create the PRACTICE account, but this time enter your own names for the accounts, groups, and users that you want to create.

Feedback to webmaster