Using the MKACCT Command File for Creating Accounts, Groups, and Users [ Using Your System The User's Guide ] MPE/iX 5.0 Documentation
Using Your System The User's Guide
Using the MKACCT Command File for Creating Accounts, Groups, and Users
NOTE Procedures for creating groups and users of an account have been
condensed. For more detailed information on the MKACCT command
file, refer to chapter 4 of the "Setting Up and Maintaining Your
System" guide.
There is an alternative to using MPE/iX commands to create the
accounts, groups, and users on your system. The command file MKACCT
(MKACCT.PUB.SYS) provides you with an easy, interactive method of
creating your account structure.
To create an account, groups and users
You must be logged on as MANAGER.SYS to use the MKACCT command file.
Follow the MKACCT online (on screen) instructions, or use the
instructions provided here to guide you along.
CAUTION If you are taking notes as you create users, group, accounts and
passwords, remember that it is the system manager's
responsibility to keep this information secure.
1. Log on as MANAGER.SYS.
2. Type MKACCT at the system prompt, and press Return.
:MKACCT Return
The following MKACCT menu appears on your screen:
________________________________________________________________________
| |
| |
| *************************************************************** |
| * This command file allows you to create * |
| * * |
| * * |
| * ACCOUNTS * |
| * GROUPS within accounts * |
| * USERS who have access to accounts * |
| * * |
| * Files are kept inside GROUPS. GROUPS exist inside ACCOUNTS.* |
| * USERS are members of an ACCOUNT who can log on to one of * |
| * the groups. * |
| * * |
| * This command file also allows you to create PASSWORDS to * |
| * protect each ACCOUNT, GROUP, and USER. * |
| * * |
| * This command file lets you assign a HOME GROUP to each USER.* |
| * If you omit the GROUP name when you log on with HELLO, you * |
| * will log on to your HOME GROUP. Users do not need to supply* |
| * passwords when logging on to their HOME GROUP. * |
| * * |
| * This command file permits you to add GROUPS and/or USERS to * |
| * an existing ACCOUNT. * |
| *************************************************************** |
| |
| More information (Yes,No,Exit)?_ |
| |
________________________________________________________________________
You are given three options:
* Type YES or press Return. This action prompts you to
continue to scroll through several information screens on
the account structure, before you start creating accounts.
YES is the default response.
* Type NO and press Return. This action skips any remaining
information screens and places you directly at the prompt
for creating an account name.
* Type EXIT and press Return. This action prompts you to
confirm your intention to exit the MKACCT command file.
Typing EXIT again exits you out of the command file to the
system prompt.
3. If you want to create an account, respond either YES or NO to the
"More Information?" prompt(s) until the following question appears
on your screen:
Do you want to create a new account (Yes,No,Exit)?
Again you are given three options to respond to this prompt.
* Type NO. This action asks you if you want to add groups or
users to an existing account. For more information on this
topic, see the following task, "Using MKACCT to add groups
or users to accounts."
* Type EXIT. This action exits you out of MKACCT.
* Type YES. This action initiates the MKACCT process for
creating an account.
4. When you are ready to create an account, type YES, or press
Return, at the Do you want to create a new {{account}}
(Yes,No,Exit)? prompt. You must 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. However, the lack of passwords diminishes the security
on your system. 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: SALES Return |
| |
| Please enter a password for account SALES: FY91 Return |
| |
| Please enter a manager name for account SALES: YUKI Return |
| |
| Please enter a password for account manager YUKI: KINU2 Return |
| |
_______________________________________________________________________
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 :SALES |
| Account password :FY91 |
| |
| Manager name :YUKI |
| Manager password :KINU2 |
| |
| Create the ACCOUNT (Yes,No,Exit)? |
| |
________________________________________________________
5. Type YES, or press Return. Doing so finalizes the creation of the
account, the account's password, the account manager, and the
account manager's password.
6. MKACCT then asks, "Do you want to create a new group in the
acctname account (Yes,No,Exit)?".
To create a new group, type YES, or press Return, at this prompt.
The MKACCT process for creating groups is similar to creating
accounts. You must provide a group name and password (optional)
when prompted.
Answer YES when the "Create this group (Yes,No,Exit)?" prompt
appears to finalize the creation of the group.
MKACCT continues to prompt you for new group names until you type
NO at the "Do you want to create a new group...?" prompt. You do
not need to create a PUB group. MKACCT does this automatically.
7. MKACCT then asks, "Do you want to create a new user in the
acctname account (Yes,No,Exit)?".
To create a new user, type YES, or press Return, at this prompt.
The MKACCT process for creating users is similar to creating
accounts and groups. You must provide a user name and password
(optional). You will be asked if you want to see a list of groups
in your new account. Answer accordingly.
You will be asked to provide a home group for the user.
Specifying a home group is optional; however, without a home
group, users must specify a group name each time they log on.
Answer YES when the "Create this user (Yes,No,Exit)?" prompt
appears to finalize the creation of the group.
MKACCT continues to prompt you for new user names until you type
NO or EXIT at the "Do you want to create a new user...?" prompt.
If you respond NO, MKACCT returns you to the prompt where you can
start the process of creating another new account again.
8. To exit the MKACCT command file, type EXIT at any prompt that ends
with the (Yes,No,Exit)? options. A screen similar to the
following appears:
________________________________________________________________________
| |
| |
| ************************************************************** |
| * 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 XL 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 |
| |
________________________________________________________________________
9. After carefully reading this screen, press Return to view the next
screen.
________________________________________________________________________
| |
| |
| *************************************************************** |
| * * |
| * * |
| * To create more GROUPS, USERS or ACCOUNTS just execute * |
| * MKACCT again. * |
| * * |
| * The following MPE commands may be used to list and * |
| * modify your accounts: * |
| * * |
| * :LISTACCT AccountName :ALTACCT AccountName * |
| * :LISTGROUP GroupName :ALTGROUP GroupName * |
| * :LISTUSER UserName :ALTUSER UserName * |
| * :PURGEACCT AccountName :PURGEGROUP GroupName * |
| * :PURGEUSER UserName * |
| * * |
| * You can get HELP for any of these commands by typing: * |
| * * |
| * :HELP CommandName e.g. :HELP ALTUSER * |
| * * |
| *************************************************************** |
| |
| Please press RETURN to continue Return |
| |
________________________________________________________________________
10. To get to the system prompt, press Return.
The following message appears on your screen, and you are returned
the system prompt.
End of the MKACCT command file.
:_
You may run MKACCT as often as you like. The ACCTLOG and CMDLOG
files will accumulate information and show the date and time of
each MKACCT session.
Using MKACCT to add groups or users to an existing account.
1. Log on as MANAGER.SYS.
2. Type MKACCT at the system prompt and press Return
:MKACCT Return
3. At the "More information (Yes,No,Exit)?" prompt, type NO.
4. Type YES, or press Return, at the following prompt:
Do you want to add groups or users to an existing
ACCOUNT (Yes,No,Exit)? YES Return
5. Provide the name of the account to which you want to add groups or
users at the following prompt:
Please enter the name of an existing ACCOUNT:
6. When prompted, supply a new group name and password. MKACCT
continues to prompt you for new group names until you type NO at
the "Do you want to create a new group in the acctname?" prompt.
7. When prompted, supply a new user name and password. MKACCT
continues to prompt you for new user names until you type NO or
EXIT at the "Do you want to create a new user in the acctname?"
prompt.
8. When you have finished adding new groups and users to your
existing account, type EXIT at any prompt that ends with the
(Yes,No,Exit)? options.
MPE/iX 5.0 Documentation