Re: Further adventures in the land of 64-bit linux

[email protected] (Martin v. Löwis) 17 Sep 2002 18:48:51 +0200
Newsgroups gmane.comp.python.snake-farm.user
Message-ID <[email protected]>
Guido van Rossum <[email protected]> writes:

> Hm.  AFAIK this code is not reading and parsing /etc/passwd directly,
> it's using getpwd() for that.  Why doesn't getpwd() process that
> cookie???  I think it's supposed to!  What does the manual on your
> system say?  (I don't have NIS set up anywhere here so I can't check.)

It could be that the entry is still in /etc/passwd, but NIS is
disabled in /etc/nsswitch.conf. More likely, there is a bug in getpwent.

Regards,
Martin