Re: user authentication

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: user authentication
Дата
Msg-id 20030411113816.W98203-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на user authentication  (u_andy@pisem.net)
Список pgsql-general
On Fri, 11 Apr 2003 u_andy@pisem.net wrote:

> Hi,
> I do not understand something in PostgreSQL Security and I hope
> someone will help me.
> I've installed PostgreSQL 7.1.3 on FreeBSD 4.7
> I made a paswword for user postgres but when I just do the following
> command:
> # psql -U postgres dbname
> PostgreSQL do not even ask me for password.
> The same thing happens when I try to connect to database via network.
> So anyone who wants can make everything with my database!
> May be there are some configuration files that I should change?

You need to look at pg_hba.conf in your data directory.  I'd thought that
the default configuration only allowed connections from localhost and
unix domain although 7.1 is old enough I may be misremembering.  And you
almost certainly want to be using 7.3 rather than 7.1.


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

Предыдущее
От:
Дата:
Сообщение: Re: Upgrade to RedHat 9.0 broke PostgreSQL
Следующее
От:
Дата:
Сообщение: Re: tcpip_socket