| От | Bruno Wolff III |
|---|---|
| Тема | Re: hiding the postgres password - v8.1.0 |
| Дата | |
| Msg-id | 20060320224713.GB7291@wolff.to обсуждение |
| Ответ на | Re: hiding the postgres password - v8.1.0 (Alvaro Herrera <alvherre@commandprompt.com>) |
| Список | pgsql-admin |
On Mon, Mar 20, 2006 at 17:23:43 -0400, Alvaro Herrera <alvherre@commandprompt.com> wrote: > Mr. Dan wrote: > > > Is there a way to hide or encrypt the postgres password when the postgres > > user is required to be the user in a shell script? This way we could have > > a function called in a program, and the users could do something with out > > actually seeing the postgres user password. > > See the docs for the .pgpass file, in the libpq section (Interfaces). You also might consider using ident authentication if the scripts run on the database server and the OS supports getting the id of who is connected to a domain socket.
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера