Mailing List Archive



Back to the month index Back to the list index

Paul Hinker (phinker@scisoft.com)
Wed, 29 Jan 1997 14:42:46 -0700 (MST)


Date: Wed, 29 Jan 1997 14:42:46 -0700 (MST)
From: Paul Hinker <phinker@scisoft.com>
Message-Id: <199701292142.OAA07460@hopper.scisoft.com>
Subject: [mSQL] IRIX can't get username

I've been using msql-1.0.16 for a couple weeks now on both Solaris and
IRIX-5.3/IRIX-6.2 but have recently run into a problem on the SGI
machines. Any issuance of msql/msqladmin/msqldump causes the client
to exit complaining about not being able to find the username.

   The code in libmsql.c is a straightforward call to geteuid() followed
by getpwuid to get the user's passwd structure but even though the euid
being sent to getpwuid is valid, the routine is returning a null record.
Has anyone seen this problem before? I've looked through various FAQs
and mailing list archives but haven't been able to find a reference to
this. Sorry if it's been hashed out previously.

   Any help would be greatly appreciated.
   Paul
--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
"info msql-list" to majordomo@bunyip.com for info on monthly archives of
the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!