Обсуждение: Asking for password at startup

Поиск
Список
Период
Сортировка

Asking for password at startup

От
Andrew
Дата:
Hi,

If I don't have the line:

local all trust

in my pg_hba.conf file then postgresSQL asks for a password on startup.
Clearly it is trying to connect to a database but I can't find which one.

My desired options (if they were to work) are:

local sameuser trust
local all trust admins
local all md5
host all 127.0.0.1 255.255.255.255 md5

I understand there is a problem with specifying the local all md5 line as
any search will match the earlier line so I'm after advise on how to
acheive such as result.

Thanks,

Andrew