Re: Passwords in PSQL

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Passwords in PSQL
Дата
Msg-id 426C9E6E.2010709@familyhealth.com.au
обсуждение исходный текст
Ответ на Passwords in PSQL  (Rafaqat Ali <smoken0@gmail.com>)
Список pgsql-hackers
>        Any one can connect to any database. If any one knows user
> name, he/she connect to db. I want to provide some security that no
> one can connect without providing passwords. postgres uses a function
> do_coonect() for this perpose. I provide it passwords but it let me
> connect to db with any passwords provided. Can any one tell me how to
> set passwords for db user. and how can I implement password protection
> in psql.

You have to edit your pg_hba.conf and change trust authentication to md5.

Chris


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

Предыдущее
От: Gavin Sherry
Дата:
Сообщение: Re: Passwords in PSQL
Следующее
От: "Qingqing Zhou"
Дата:
Сообщение: simplify register_dirty_segment()