You can invoke the PXUTIL utility from a session or job.
It requires SM capability. It is breakable except for the period during which either old database files are being purged or new ones are being saved.
The PXUTIL utility supports the following four commands:
Each of these commmands is explained on the following pages.
UPDATE |
 |
The UPDATE command provides a way of ensuring that your UID/GID
databases accurately reflect the current directory structure.
You may need to update the databases in response to particular error
messages generated by various commands that could not
properly update the databases as expected. UID/GIDs of existing
users and accounts are preserved. If the databases do not exist,
they are created from scratch, with UID values beginning at 100 and GID values also beginning at 100.
The UID database contains the following information:
- login name
User name.account name. For example, MGR.SYS
- uid
Integer initially allocated sequentially for each user.
- Initial working directory
Home group. For example, /SYS/PUB.
- Initial program to use as a shell
HFS form of the command interpreter (CI.PUB.SYS), which is:
The GID database contains the following information:
- group name
Group name. For example, SYS.
- gid
Integer initially allocated sequentially for each group.
QUIT |
 |
Exits the utility.
EXIT |
 |
Exits the utility.
HELP |
 |
Displays the PXUTIL utility commands.
Examples |
 |
The operation from a session is illustrated below:
RUN PXUTIL.PUB.SYS
MPE/iX PXUTIL A.00.01 Copyright (C) Hewlett-Packard 1991. All Rights Reserved.
PXUTIL> update
User and group databases sucessfully created.
PXUTIL> quit
|
Below is a typical invocation and operation of PXUTIL when the
databases previously exist. Note that users that were added to the
database are displayed. (Refer the commands section for more information
on the UPDATE command.)
MPE/iX PXUTIL A.00.01 Copyright (C) Hewlett-Packard 1991. All Rights Reserved.
PXUTIL> update
User NEWUSER.POSIX with user id= 542 added to user database.
User TESTUSER.UI with user id= 543 added to user database.
User and group databases synchronized with the directory.
PXUTIL> e
|