On 6/6/05, Andreas Jaeger
Markus Natter
writes: but is there also a passwd or other backend independent way? ( e.g. if you have users in passwd and LDAP, or NIS.. )
passwd is the database - it uses LDAP, NIS or whatever exactly the same way that ls would do...
What does "ls" do to? I think it uses a kind of an abstraction layer, as it seems to ask any underlieing authentication mechanism and nscd..
ls calls the getent_* functions of glibc - the getent binary uses the same getent_* functions,
Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Thank you Andreas, I guess I was searching and googling too UID/Username specific in the beginning that I didn't find a hint on the getent_* functions and Thorsten's getent binary earlier. thanks a lot, to all of you Markus