| От | John R Pierce |
|---|---|
| Тема | Re: Limit postgres user logins |
| Дата | |
| Msg-id | 4BC7A17F.1040705@hogranch.com обсуждение исходный текст |
| Ответ на | Limit postgres user logins (gvim <gvimrc@googlemail.com>) |
| Список | pgsql-general |
gvim wrote: > My hba file has: > > local all postgres md5 > host all admin 127.0.0.1/32 md5 > host all dbuser 127.0.0.1/32 md5 > > But that still allows users other than postgres to attempt to login as > postgres. Is there any way I can limit access to the postgres user > specified as being logged in as postgres? on the first line (and only the first line), change md5 to ident sameuser [leave sameuser off on 8.4] then the postgres user can only log on as himself and noone else can.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера