HP 3000 Manuals

To Create Your Account Structure [ Setting Up and Maintaining Your System The Installation Guide ] MPE/iX 5.0 Documentation


Setting Up and Maintaining Your System The Installation Guide

To Create Your Account Structure 

Before other users can work on the computer, they have to have some place
to put the files that they will create.

   *   The place to put files is in a group.

   *   The place to put a group is in an account.

Accounts and groups are the building blocks of the MPE/iX account
structure.  The people who can log on to an account are called users.

[]
Figure 4-1. Files in Groups, Groups in Accounts On your HP 3000 Series 937LX, files are organized in accounts, similar to the directories on personal computers and other systems. These accounts can be broken down into groups, similar to subdirectories. Creating these accounts and groups is the responsibility of the system manager, the user who has access to the entire system. Because your computer is a multiprogramming system, many people can use the system at the same time. User names, therefore, must be defined to identify each user to the system. Each user name is associated with a specific account, and can be further defined as associated with a particular group in the account, if desired. An interactive command file, called MKACCT, provides a method for you to create your account structure. It prompts you for the names of the accounts, groups, and users that you want created. It also provides an opportunity to set passwords for any of these. Figure 4-2 shows a sample worksheet that can be used to plan your structure or to record the structure that you have created. * To delete any portion of your account structure, refer to the PURGEACCT, PURGEGROUP or PURGEUSER commands in the manual Using Your System. * To modify capabilities or file access for any account, group, or user, refer to the ALTACCT, ALTGROUP, or ALTUSER commands in the manual Using Your System. * To change a password, refer to the PASSWORD command in the manual Using Your System. ACCOUNT Name: PRACTICE_____ Password: NOW__________ Manager: MGR__________ Password: FY91_________ Group: TAXES________ Password: TX1992_______ Group: BUGET________ Password: _____________ Group: _____________ Password: _____________ User: BARB_________ Password: _____________ Home Group: TAXES________ LOGON: HELLO BARB_________.PRACTICE______,_____________ (user) (account) (group) User: JIM__________ Password: _____________ Home Group: PUB__________ LOGON: HELLO JIM__________.PRACTICE______,_____________ (user) (account) (group) User: _____________ Password: _____________ Home Group: _____________ LOGON: HELLO _____________.______________,_____________ (user) (account) (group) User: _____________ Password: _____________ Home Group: _____________ LOGON: HELLO _____________.______________,_____________ (user) (account) (group) User: _____________ Password: _____________ Home Group: _____________ LOGON: HELLO _____________.______________,_____________ (user) (account) (group) Figure 4-2. Sample Worksheet Before you enter the MKACCT command file, study the sample worksheet (Figure 4-2). Try creating a practice account called PRACTICE. [REV BEG] You will find a blank copy of this worksheet at the back of this section. Tear it out. Make several copies of the worksheet. (Keep one copy blank so that you can make copies of it if you need them.) You will use one copy to create your practice account. You may use other copies to aid you in setting up other accounts for your system.[REV END] 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. Before starting the MKACCT command file, study the sample worksheet (Figure 4-2). Then, follow the instructions given here. 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. a. To the first prompt (name of group), type TAX Return. b. 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. a. To the first prompt (name of group), type BUDGET Return. b. 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. a. To the first prompt (name of user), type BARB Return. b. 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. User Log on Destination ---------------------------------------------------------------------------------------- MGR HELLO MGR.PRACTICE Return Logs user MGR into the PUB group of PRACTICE. BARB HELLO BARB.PRACTICE Return Logs user BARB into the TAX group of PRACTICE. HELLO BARB.PRACTICE,BUDGET Return Logs user BARB into the BUDGET group of PRACTICE JIM HELLO JIM.PRACTICE Return Logs user JIM into the PUB group of PRACTICE. HELLO JIM.PRACTICE,BUDGET Return Logs 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 Using Your System. * To modify capabilities or file access for any account, group, or user, refer to the ALTACCT, ALTGROUP, or ALTUSER commands in the manual Using Your System. * To change a password, refer to the PASSWORD command in the manual Using Your System. 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. Now use one or more blank copies of the "Account Structure Worksheet" to plan the addition of other accounts your structure. 2. 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.


MPE/iX 5.0 Documentation