Re: Password protection?

Поиск
Список
Период
Сортировка
От Joel Burton
Тема Re: Password protection?
Дата
Msg-id 3A2B7E37.10126.3E261F@localhost
обсуждение исходный текст
Ответ на Password protection?  (Rasputin <rasputin@freebsd-uk.eu.org>)
Список pgsql-novice
On 4 Dec 2000, at 14:08, Rasputin wrote:

> I can't figure out how to password protect an username.

Change the line in pg_hba.conf to "password", not trust. Trust
means that the user is never prompted for a password. (this is the
default for local connections, which seems much to open for my
tastes; unfortunately, many people create their "host" Internet
lines, never having changed this.)

To create a password for the postgres user,

ALTER USER postgres WITH PASSWORD 'xxxxx';

or, to see what's really happening, look in pg_password.





--
Joel Burton, Director of Information Systems -*- jburton@scw.org
Support Center of Washington (www.scw.org)

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

Предыдущее
От: DE WOLF PETER
Дата:
Сообщение:
Следующее
От: Brian Aker
Дата:
Сообщение: to_days(now())