home dir in cygwin
John Abreau
jabr at abreau.net
Thu Feb 6 17:12:16 EST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Content-Type: text/plain; charset=us-ascii
Erik Price <eprice at ptc.com> writes:
> Because I didn't know it. And I had never heard of a getpwent()
> function, nor did I know that sysadmins often resorted to knowledge of C
> structs and pointers in the course of their work. (I don't run a Linux
> box, I just have an account on a friend's, so this man page isn't
> something I've ever seen before. And the machine I *do* run is MacOS X,
> which doesn't use an /etc/passwd file for user info.)
>
> Arcaneness is just relative, I guess.
MacOS X uses NetInfo (inherited from NeXT) to manage its password
database.
Applications still use getpwent() to retrieve the password data, just as
they do on a Solaris box running NIS or NIS+, or a Linux box
authenticating
to an OpenLDAP or Windows Active Directory server. Regardless of the
underlying
authentication mechanism, getpwent() is the API for accessing it.
- --
John Abreau / Executive Director, Boston Linux & Unix
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001
iQCVAwUBPkLdwFV9A5rVx7XZAQLTygP8DA8ojRbI8eCP5LPBKBLaVHTzrGTignVM
aMMQ+/PpZEAzppPFoI2RnjWAqRTKc1QG1ZEKhwJiDAJ/hOwFnXz9HryHhvDcGRpB
xI4APxu4gLZvN0dbj/yShuggPxWloP8UQI2xh8ybsKSI1sZEzo60lCWp6u9q6Erv
gI1969GSR/Q=
=Jz48
-----END PGP SIGNATURE-----
More information about the gnhlug-discuss
mailing list