Re: Can't find /var/lib/pgsql/9.3/data/global/pg_auth

From: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
To:
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Can't find /var/lib/pgsql/9.3/data/global/pg_auth
Date: 2013-11-13 11:58:36
Message-ID: CAADeyWjtcU7JbTRvXo0iQMdS2GAPRV=D5HTC7bu2rfe3i_OeUw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thank you Devrim!

The "man 5 pgbouncer" is slightly outdated then,
it doesn't explain the auth_file format in detail:

auth_file
The name of the file to load user names and passwords from. The
file format is the same as the PostgreSQL
pg_auth/pg_pwd file, so this setting can be pointed directly to
one of those backend files.

What is the 3rd column of the file used for?
(the 1st being username and
the 2nd being md5 hashed password)

Regards
Alex

On Wed, Nov 13, 2013 at 12:43 PM, Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> wrote:

> On Wed, 2013-11-13 at 12:28 +0100, Alexander Farber wrote:
> > on CentOS 6.4 I'm moving from 8.4 to 9.3, but can not find the file
> > /var/lib/pgsql/9.3/data/global/pg_auth which I need for the pg_bouncer.
> >
> > Does anybody please know where to find that file?
>
> It was removed about 4 years before. You can use mkauth.py to generate
> the auth file. Here is a blog post about how to do it:
>
>
> http://www.depesz.com/2010/12/04/auto-refreshing-password-file-for-pgbouncer/
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2013-11-13 12:07:04 Re: Can't find /var/lib/pgsql/9.3/data/global/pg_auth
Previous Message Devrim GÜNDÜZ 2013-11-13 11:43:23 Re: Can't find /var/lib/pgsql/9.3/data/global/pg_auth