>I got a new idea on this. I think we should add an initdb option that

Bruce Momjian <bruce@momjian.us>

Commit: e7029b212755594bbfb4325fffd2dbd7b00eef08
Author: Bruce Momjian <bruce@momjian.us>
Date: 2004-08-01T05:59:13Z
Releases: 8.0.0
>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 --auth '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 --auth 'ident mymap'
>
>so you would need to allow multiple words in the string.

Magnus Hagander

Files

PathChange+/−
src/backend/libpq/pg_hba.conf.sample modified +5 −9
src/bin/initdb/initdb.c modified +68 −3