There are several places in the rpm package where it uses getent, ypcat, and nidump to get uids and gids. This can take quite a while on systems with thousands of users, particularly if they're doing openldap authentication where threading may be an issue.
Might it not be better to parse the output of the ``id'' command to get this information, and leave the heavy lifting to the OS, or perhaps add this to the ubiquitous GNU shtool? The only systems I have here are several Linux flavours, FreeBSD 4.8, and an SCO OpenServer 5.0.6a box, all of which have similar output of the ``id username'' command which would be quick and easy to parse. The ``gid'' function in coreutils should always be the same, but it might not be available, particularly during the bootstrap process. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 http://www.celestial.com/ The question is, why are politicians so eager to be president? What is it about the job that makes it worth revealing, on national television, that you have the ethical standards of a slime-coated piece of industrial waste? -- Dave Barry, "On Presidential Politics" ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List openpkg-dev@openpkg.org