Default Postgres Password

Stephen Rasku macports at srasku.net
Sun Nov 25 14:12:31 PST 2012


On Sun, Nov 25, 2012 at 1:27 PM, Brandon Allbery <allbery.b at gmail.com>wrote:

> On Sun, Nov 25, 2012 at 3:58 PM, Stephen Rasku <macports at srasku.net>wrote:
>
>> It's asking me for a password when I do that.
>
>
> Not directly; wrap it in sudo, since root can then su to any user without
> a password.
>

I did "sudo psql90" and it still asked me for a password:

$ sudo psql90
Password:
psql90: FATAL:  password authentication failed for user "root"
$ sudo psql90 -U postgres
Password for user postgres:
psql90: FATAL:  password authentication failed for user "postgres"

...Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20121125/4c8b1521/attachment.html>


More information about the macports-users mailing list