Re: usernames and passwords

Поиск
Список
Период
Сортировка
От Ross J. Reedstrom
Тема Re: usernames and passwords
Дата
Msg-id 20020722145025.GA13996@rice.edu
обсуждение исходный текст
Ответ на usernames and passwords  (Vicente Vives <vvives@telepolis.com>)
Список pgsql-admin
On Fri, Jul 19, 2002 at 02:56:41PM +0200, Vicente Vives wrote:
> Hi .
> I have a server running PostgreSQL Version 6.5, and i have a problem.
> I grant some distinct privileges to some users (and that works). The problem
> is that those user can log in with any password. Each user has a password
> assigned but not matter the password the user use to log in, if the user
> exists always will get access to the database.
>
> Has anybony an idea?
> Any response will be wellcome.

Check your pg_hba.conf setting for that host. Sounds like you've got
the last column set to 'trust'. Change it to 'crypt' is your most likely
solution. Check your docs.

Oh, and start planning your upgrade: 6.5 is getting to be very old code,
as is definitely not supported. Any bugs you hit will probably already
be fixed in 7.X, and there's lots of new features, too!

Ross

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

Предыдущее
От: "Marc Mitchell"
Дата:
Сообщение: Re: using an index with like-operator
Следующее
От: Mark Worsdall
Дата:
Сообщение: Install Error during gmake (hba.c:885: storage size of `peercred' isn't known )