security question

Поиск
Список
Период
Сортировка
От Dave Lazar
Тема security question
Дата
Msg-id e0d71d270704041325h78978100rf782f60ac06c8e6a@mail.gmail.com
обсуждение исходный текст
Ответы Re: security question
Re: security question
Re: security question
Список pgsql-admin
Hi,

I have a quick question about my installation that puzzles me. pgsql 8.2.3 on a debian box. Tested it out the database works. pgadmin III connects fine too. I used alter table on the template1 database to give postgres user a password. I changed pg_hba to use md5 on all connections including local.

When I use psql -U postgres -d myDataBase to connect to myDataBase I do not get prompted for a password? When I su postgres and use psql myDatabase I get prompted for my password?

Is there some reason why I can login using psql to a database when postgres is supposed to use passwords for all access?

Probably a mistake I made somewhere along the line... just not sure where, usually I get my pgsql install working great!

Thanks

Dave

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: xlog related error
Следующее
От: Ray Stell
Дата:
Сообщение: Re: security question