Previous Topic: Synchronize Users and GroupsNext Topic: How the Policy Model Updates Subscribers


Specify UIDs Explicitly

Another way to send an identical UID or GID to the PMDB and to all its subscribers is to explicitly set it when you create a new user.

To specify UIDs explicitly use the userid or groupid parameter with each newusr command.

Example: Create a new user with a specified UID

If you want to establish 1234 explicitly as the UID of new user terry_jones (and assuming that no one else in the database has that UID yet), enter the command:

newusr terry_jones unix (userid(1234))

If the specified UID is already being used in the PMDB, then the PMDB will not itself be updated, but the command will still propagate to the other subscriber databases. Among the other databases, wherever the particular UID is already in use, the subscriber's individual update will fail; but where no such conflict exists, the update succeeds.