|XP is just a number|
Which backend is getpwent using?by j0se (Pilgrim)
|on Jul 11, 2013 at 13:11 UTC||Need Help??|
j0se has asked for the
wisdom of the Perl Monks concerning the following question:
I have the following code to find duplicate UIDs:
I'm getting this output ...
... and the reason is that root (0) and nobody (65534) accounts exist both in /etc/passwd and LDAP.
Is there a way to distinguish between various user account backends (e.g. /etc/passwd, LDAP) from within a Perl program using getpwent?
Well done is better than well said. -- Benjamin Franklin