Re: Call sequence 'getpwuid(getuid())' unexpectedly returns NULL
Re: Call sequence 'getpwuid(getuid())' unexpectedly returns NULL
- Subject: Re: Call sequence 'getpwuid(getuid())' unexpectedly returns NULL
- From: "Justin C. Walker" <email@hidden>
- Date: Fri, 31 Oct 2008 07:11:10 -0700
On Oct 31, 2008, at 07:00 , Sean Gates wrote:
Greetings from a new subscriber,
I’m having a problem on Macintosh OSX 10.4 & 10.5 involving user
information lookup where the ‘getpwuid(getuid())’ call sequence
starts unexpectedly returning NULL after an initial period of
successful operation. On some systems the lookup failures start
within than a day; on others, no failures have yet been observed.
[snip]
This is a wild guess, too early in the morning, but: do you rewind the
password database before use? Check "man getpwuid" for details.
HTH
Justin
--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
-----------
My wife 'n kids 'n dogs are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden