| От | Tom Lane |
|---|---|
| Тема | Re: User login |
| Дата | |
| Msg-id | 2912.1227198710@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | User login ("Swathi S" <ss.postgres@gmail.com>) |
| Список | pgsql-admin |
"Swathi S" <ss.postgres@gmail.com> writes:
> How do we find which user logged in from the OS level in postgres.
> For eg: If user "a" logged in from the OS level and logged into postgres
> psql as user "b" .........how do we find the login details?
You don't --- there's no way to find that out from the server side.
What you might consider doing is tying the OS and postgres user
identities together by using "ident" authorization --- but that's
not real secure unless all the connections are local.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера