DESCRIPTION

The CBAIS::Utils::UIDCache provides a cache of user and group names during a machine install.


METHODS

getUID ( username )
Returns the numeric user id associated with username.

getGID ( groupname )
Returns the numeric group id associated with groupname.


NOTES


A race condition exists where a directory is to be created which will be
owned by a user that will exist only in the local passwd file. This is
because directories are made before copy is done (since you might want to
copy a file into a directory you just created.)

To get around this the cache may be "primed" with user and group
id\'s. The priming is done in the file I</CBAIS_ROOT/conf/UIDCache.conf> by
assigning values in the %uids and/or %gids hashes.

Note that the two hashes %uids and %gids must be global variables in the CBJS::Utils::UIDCache package...