11-08-05 11:29 PM
Is there a truely reentrant method for enumerating unix
accounts? Obviously getpwent(3) is not reentrant and getpwent_r(3) on
my system is a) non-standard and b) not actually reentrant according
to the notes. Arg! This is very unfortunate if it can block which I
suspect it can depending on how nsswitch is configured. I can't just
parse /etc/password because again nsswitch may be involved. Is there a
lower level but standard method for reading accounts?
Thanks,
Mike
[ Post a follow-up to this message ]
|