> I know this thread is a little stale, but I never saw any
>mention of the fact that AIX, OSF, Ultrix and DYNIX/ptx have a hashed
>/etc/passwd option. (Maybe it isn't even worth mentioning). This
>eliminates big search times for getpwnam(). SunOS 4&5, HP-UX 9&10 and
>IRIX don't seem to have it, though. Or has someone found that they do?
If you use NIS or NIS+, the server typically implements hashed lookup -
this is definitely the case on SunOS 4&5 at least (and AFAIK there is no
other standard way to achieve this on these OS'es).
--Per Hedeland
per@erix.ericsson.se