pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomasz Myrta <jasiek@klaster.net>
To: Marcin Porwit <mporwit@yahoo-inc.com>
Subject: Re: Postgres and PAM config issues
Date: Fri, 10 Aug 2007 16:45:01 +0200
Message-ID: <46BC79ED.3030404@klaster.net> (raw)
In-Reply-To: <174112B8F646484A89DDC7A3DD25B4B6054CC9@SNV-EXVS05.ds.corp.yahoo.com>
References: <174112B8F646484A89DDC7A3DD25B4B6054CC9@SNV-EXVS05.ds.corp.yahoo.com>

Marcin Porwit napisal 2007-08-10 03:26:
>        positionwhile[pg]% more /etc/pam.d/postgresql
>        #%PAM-1.0
>        auth       required     pam_stack.so service=system-auth
> 
> The system is a CentOS 4.4 box, and I'm running PostgreSQL 8.0.6.
> 
> However, when I try to get psql to do password authentication, I get the
> following:
> 	positionwhile[postgresql-8.0.13]% psql authtest
> 	Password:
> 	psql: FATAL:  PAM authentication failed for user "mporwit"

Probably you are missing "account" section in your pam configuration.

Regards,
Tomasz Myrta



view thread (2+ messages)

Message-ID: <46BC79ED.3030404@klaster.net>
Permalink:  ../46BC79ED.3030404@klaster.net/
Also on:    postgresql.org/message-id/46BC79ED.3030404@klaster.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: jasiek@klaster.net, mporwit@yahoo-inc.com
  Subject: Re: Postgres and PAM config issues
  In-Reply-To: <46BC79ED.3030404@klaster.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox