Re: I can't seem to put the right combination of magic into the pg_hba and pg_ident files.
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: I can't seem to put the right combination of magic into the pg_hba and pg_ident files. |
| Дата | |
| Msg-id | 7591.1257733646@sss.pgh.pa.us обсуждение |
| Ответ на | I can't seem to put the right combination of magic into the pg_hba and pg_ident files. (Tim Uckun <timuckun@gmail.com>) |
| Ответы |
Re: I can't seem to put the right combination of magic into
the pg_hba and pg_ident files.
|
| Список | pgsql-general |
Tim Uckun <timuckun@gmail.com> writes:
> I want to accomplish what I would think would be a simple thing. I
> want the root user to be able to connect to the postgres database as
> user postgres from the local machine without passwords. Since I am
> doing this from a program I don't want to use the su facility.
I suspect you are expecting that the map will cause root to be
logged in as postgres without asking for that. It won't.
What it will do is allow "psql -U postgres" and similar to work.
BTW, one has to wonder why you are using the root account for this
work in the first place. Wouldn't it be a lot more secure to use
a less privileged account (oh, I don't know, maybe postgres)?
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера