| От | Gary Horton |
|---|---|
| Тема | Re: createuser ignores stdin in 8.1.0? |
| Дата | |
| Msg-id | 4390DD9B.5080605@sun.com обсуждение исходный текст |
| Ответ на | Re: createuser ignores stdin in 8.1.0? (Gary Horton <Gary.Horton@Sun.COM>) |
| Список | pgsql-general |
Gary Horton <Gary.Horton@Sun.COM> writes:We're migrating from 7.3.4 to 8.1.0, and I'm seeing different behavior with the createuser command. What we are wanting is to streamline our product installs, to require minimal user interaction, so we basically embed the password like this in our bourne-shell wrapper script:$POSTGRESQL_HOME/bin/createuser -d -P $PGUSER <<END $PGPASSWORDWe changed all the clients some time ago to insist on getting passwords from /dev/tty not stdin. There was a security argument for it, I think, but I don't recall the reasoning exactly. regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера