Setting Up Accounts and Adding Users [ New Features of MPE/iX: Using the Hierarchical File System ] MPE/iX 5.0 Documentation
New Features of MPE/iX: Using the Hierarchical File System
Setting Up Accounts and Adding Users
Once the user and group databases are set up, you add accounts and users
just as you would on traditional MPE systems. MPE/iX automatically
updates the user and group databases as needed. You do have an
additional option to specify group or user IDs when setting up accounts.
You can also specify user IDs when adding users.
The tasks of creating accounts and users are described in Performing
System Management Tasks (32650-90004).
Setting up accounts
To set up an account, use the NEWACCT command and its options. Refer to
the MPE/iX Commands Reference Manual, Vol. I (32650-90003) for the
complete syntax of NEWACCT.
You must have system manager capabilities to set up a new account. You
must specify the account name and identify an account manager. You also
have the option of specifying a user ID number and group ID number, or a
unique number is automatically assigned. If you specify user and group
ID numbers, you should assign numbers over 100. MPE/iX reserves numbers
less than 100 for system-defined IDs.
For example, to create a new account called PAYROLL for the payroll
department:
:NEWACCT PAYROLL,MANAGER;PASS=PAYUS2;UID=150;GID=120;
The new account, PAYROLL, contains one user (MANAGER), who is the account
manager. The password for the account is PAYUS2. The user ID of 150
identifies the account manager MANAGER.PAYROLL. The group ID of 120
identifies the payroll account. Also, the account automatically contains
one group: PUB.
If you omit the UID and GID parameters, MPE assigns a unique UID to the
account manager, MANAGER.PAYROLL, and a unique GID to the account,
PAYROLL.
If you assign a UID or GID that is already in use, an error message is
displayed.
Adding users
To add a user to an account, use the NEWUSER command and its options.
Refer to the MPE/iX Commands Reference Manual, Vol. I (32650-90003) for
the complete syntax of NEWUSER.
Only the system manager or the account manager for the account can add
new users. You must include a user name. If you do not include an
account name, the user is added to the account that you are currently in.
For example, you can create a new user in the PAYROLL account as follows:
:NEWUSER BANKS.PAYROLL;PASS=ALEX;HOME=SALES;UID=120
This example creates a user called BANKS.PAYROLL in the PAYROLL account
with a home group SALES. The user ID is 120.
MPE/iX 5.0 Documentation