Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

getpwent() dumps core on hp-ux

by dshahin (Pilgrim)
on Aug 28, 2001 at 04:48 UTC ( [id://108320]=perlquestion: print w/replies, xml ) Need Help??

dshahin has asked for the wisdom of the Perl Monks concerning the following question:

This function returns correct values, but then core dumps on me. We built this perl ourselves, and the one that ships with HP seems to work without core dumping. Anyone have experience with peculiar problems with the XS bindings on HP_UX?

dshahin

Replies are listed 'Best First'.
Re: getpwent() dumps core on hp-ux
by MZSanford (Curate) on Aug 28, 2001 at 17:11 UTC
    I recall reading that the HP Trusted System could cause problems, so i would imagine if this were true, the getpwent() call would be effected. Once again, were this the case, i would think the HP provided perl would be pathed for this. Do you, by chance, use the Trused System Authentication ?
    See also page 10 of this|search for getpwent ... someone else with a problem
    can't sleep clowns will eat me
    -- MZSanford
Re: getpwent() dumps core on hp-ux
by dshahin (Pilgrim) on Aug 29, 2001 at 21:18 UTC
    I actually found a fix. Turns out if you don't have a nsswitch.conf file, this funtion will dump core. just add one and it's ok. d$

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://108320]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-20 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found