From: | Gary Horton <Gary(dot)Horton(at)Sun(dot)COM> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: createuser ignores stdin in 8.1.0? |
Date: | 2005-12-02 23:49:47 |
Message-ID: | 4390DD9B.5080605@sun.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Thanks, Tom, that explains it. I'm using Richard Huxton's suggested
workaround and it's working just fine -
-gh
Tom Lane wrote:
>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 | Tyler MacDonald | 2005-12-02 23:53:20 | Re: memory leak under heavy load? |
Previous Message | Jim C. Nasby | 2005-12-02 23:46:16 | Re: 8.1, OID's and plpgsql |