Re: authentication question - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: authentication question
Date
Msg-id 20061109153455.GB26818@alvh.no-ip.org
Whole thread Raw
In response to authentication question  (Craig White <craigwhite@azapple.com>)
Responses Re: authentication question
List pgsql-general
Craig White wrote:

> logs say...
> Nov  8 20:18:26 srv1 postgresql: Starting postgresql service:  succeeded
> Nov  8 20:18:39 srv1 postgres[21020]: PAM audit_open() failed:
> Permission denied
> Nov  8 20:18:39 srv1 postgres[21020]: [2-1] LOG:  pam_authenticate
> failed: System error
> Nov  8 20:18:39 srv1 postgres[21020]: [3-1] FATAL:  PAM authentication
> failed for user "craig"

I'm not at all familiar with PAM error message wording, but are you
aware that you must create the user "craig" inside the database _as
well_ as on whatever PAM layer you use?

The "audit_open(): Permission denied" message sounds like Postgres is
not authorized to consult PAM though.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: Why overlaps is not working
Next
From: Alban Hertroys
Date:
Subject: ROWTYPE initialization question