Re: initdb authentication

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: initdb authentication
Дата
Msg-id 200407170111.i6H1BNU16537@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: initdb authentication  ("Magnus Hagander" <mha@sollentuna.net>)
Список pgsql-patches
I got a new idea on this.  I think we should add an initdb option that
takes a string to specify the local authentication method:

    initdb --localauth 'ident'

or whatever the user wants.  I think this is more flexible and more
compact.  It would default to 'trust', and the packagers could set it to
whatever they want.  If their OS supports local ident, they can use
that.

Also keep in mind you might want some ident map file:

    initdb --localauth 'ident mymap'

so you would need to allow multiple words in the string.

---------------------------------------------------------------------------

Magnus Hagander wrote:
> Here's a version of this patch that includes documentation updates.
>
> //Magnus
>
>
> >-----Original Message-----
> >From: Magnus Hagander
> >Sent: den 15 juli 2004 23:02
> >To: pgsql-patches@postgresql.org
> >Subject: [PATCHES] initdb authentication
> >
> >
> >Ok, here is one more try at the initdb default authentication stuff.
> >This one adds the switches "--ident" and "--trust", which will
> >configure
> >pg_hba.conf with ident and trust authentication respectively. If trust
> >authentication is selected, a warning is written to
> >pg_hba.conf. The old
> >switches for password prompt/file still apply.
> >
> >This one makes it mandatory to pick some kind of authentication. If
> >that's not wanted, it's easy to change it to default to trust (which I
> >think is wrong, but we've been through that already..)
> >
> >Oh, and this time, the comments are updated :-)
> >
> >//Magnus
> >
> >

Content-Description: initdb_auth.patch

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-patches по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: [subxact] Proof-of-concept: report nest level to client
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: pg_autovacuum integration attempt #2