| От | Lamar Owen |
|---|---|
| Тема | Re: psql -U postgres does not require a password |
| Дата | |
| Msg-id | 3A06DFF4.5E39803D@wgcr.org обсуждение |
| Ответ на | Re: psql -U postgres does not require a password ("Dr. Hans-Christian Waldmann" <waldmann@samson.fire.uni-bremen.de>) |
| Список | pgsql-admin |
"Dr. Hans-Christian Waldmann" wrote: > which is _external_ to the database. I could imagine that your migration > install has simply overwritten the external file while preserving internal > tables. A default pg_hba.conf leads to the behavior described: anyone can > access any database with just a username. So please chekc this file. The upgrade procedure calls for a dump, then an initdb (done by the startup script), then a restore. The passwords, etc, are dumped and restored -- but pg_hba.conf is not copied in any way. The initdb would in fact overwrite this file -- which, if the recommendations in the upgrade docs (README.rpm) were followed, there should be a copy of that file in the backup directory. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера