Unless I'm reading the code for my_getpwent wrong (and I may
be, I haven't seriously programming in Perl for a long time),
it doesn't seem that it supports looking up and returning the
information for a particular user. I just wrote code that called
the useradmin/user-lib.pl:list_users subroutine and poked through
the entire array until it found the right user... This is fine
until I start doing it with remote_foreign_* calls instead of just
foreign_* and start dealing with thousands of users...
So, it'd be nice to have a my_getpwent that just returns a hash
for a particular user, to avoid lots of network copying.
W. Reilly Cooley wcooley@...
Naked Ape Consulting http://nakedape.cc
The most costly of all follies is to believe passionately in the palpably
not true. It is the chief occupation of mankind.
-- H.L. Mencken