From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Gary Horton <Gary(dot)Horton(at)Sun(dot)COM> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: createuser ignores stdin in 8.1.0? |
Date: | 2005-12-02 21:06:31 |
Message-ID: | 7121.1133557591@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Gary Horton <Gary(dot)Horton(at)Sun(dot)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
> $PGPASSWORD
We 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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-12-02 21:10:22 | Re: Numeric 508 datatype |
Previous Message | Bruce Momjian | 2005-12-02 21:05:28 | Re: Numeric 508 datatype |