Re: Roles and passwds

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Roles and passwds
Дата
Msg-id 3205.1363701467@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Roles and passwds  ("Birchall, Austen" <austen.birchall@metoffice.gov.uk>)
Ответы pg_restore - hangs or check on progress  ("Birchall, Austen" <austen.birchall@metoffice.gov.uk>)
Notification of minor release and/or Security Release  ("Birchall, Austen" <austen.birchall@metoffice.gov.uk>)
Список pgsql-novice
"Birchall, Austen" <austen.birchall@metoffice.gov.uk> writes:
> I created the following role

> postgres=# create role sde LOGIN PASSWORD 'passwd' SUPERUSER NOINHERIT CREATEDB;

> [ but the password isn't used ]

> Is this expected behaviour?

It can be depending on how you have the server's authentication
configured (pg_hba.conf).  A password will only be used if the server is
configured to demand one for the particular connection attempt.  I
suspect you've got yours set to "trust" for local connections.  Read

http://www.postgresql.org/docs/8.4/static/client-authentication.html

            regards, tom lane


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

Предыдущее
От: "Birchall, Austen"
Дата:
Сообщение: Roles and passwds
Следующее
От: Terry Chong
Дата:
Сообщение: Question about error handling with UDF written in C