Re: initdb initial password

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: initdb initial password
Дата
Msg-id 9489.1087338119@sss.pgh.pa.us
обсуждение исходный текст
Ответ на initdb initial password  ("Magnus Hagander" <mha@sollentuna.net>)
Ответы Re: initdb initial password  ("Andrew Dunstan" <andrew@dunslane.net>)
Список pgsql-hackers
"Magnus Hagander" <mha@sollentuna.net> writes:
> I would like to add capability to initdb to accept the password for the
> superuser account at invocation. Right now, I can use --pwprompt or -W
> to have it ask for a password. But for the win32 GUI installed I'd like
> to ask for the password in the installer, and pass it to initdb.
> Considering how it's done in different places, what's the preferred way
> to do this? Commandline parameter? Environment variable? Other (what
> would that be?)

There's a reason why it's done that way, which is that the others are
all insecure.  At least on some Unixen.
        regards, tom lane


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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: initdb initial password
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: initdb initial password