Re: Password as a command line argument to createuser
От
Tom Lane
Тема
Re: Password as a command line argument to createuser
Дата
Msg-id
11107.1198045400@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Password as a command line argument to createuser "Jane Ren" <j2ren@ucsd.edu>
Re: Password as a command line argument to createuser Tom Lane <tgl@sss.pgh.pa.us>
Re: Password as a command line argument to createuser "A. Kretschmer" <andreas.kretschmer@schollglas.com>
Re: Password as a command line argument to createuser Greg Smith <gsmith@gregsmith.com>
Re: Password as a command line argument to createuser Tom Lane <tgl@sss.pgh.pa.us>
Re: Password as a command line argument to createuser Andrew Sullivan <ajs@crankycanuck.ca>
Re: Password as a command line argument to createuser "Joshua D. Drake" <jd@commandprompt.com>
"Jane Ren" writes: > Is there a way I can specify the password as a command line argument to > createuser? No, and it would be a really bad idea if you could, as the password would be exposed to everyone else on the machine (via "ps") while createuser runs. There are various ways to do this securely, but putting the password on a program's command line isn't one of them. I'd suggest looking at how psql's \password command does it. regards, tom lane
В списке pgsql-general по дате отправления