Re: psql -U postgres does not require a password

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: psql -U postgres does not require a password
Дата
Msg-id Pine.LNX.4.21.0011061701100.776-100000@peter.localdomain
обсуждение исходный текст
Ответ на psql -U postgres does not require a password  (Silvan Calarco <silvan@goemon.polito.it>)
Список pgsql-admin
Silvan Calarco writes:

> psql database_name -U postgres
>
> I'm not asked for a password and every user can access the database with
> postgres privileges.

psql only asks for a password if the server requires password
authentication.  Look into pg_hba.conf how to set that up.  (Might be in
/var/lib/pgsql/... on your system.)

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


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

Предыдущее
От: "Dr. Hans-Christian Waldmann"
Дата:
Сообщение: Re: psql -U postgres does not require a password
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: psql -U postgres does not require a password