Re: default console user authentication?

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "George Clark" <grclark78(at)gmail(dot)com>,<pgsql-admin(at)postgresql(dot)org>
Subject: Re: default console user authentication?
Date: 2010-10-12 20:08:11
Message-ID: 4CB479DB02000025000368A9@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

George Clark <grclark78(at)gmail(dot)com> wrote:

> I'm trying to do a pg_dump to backup a database that is part of
> our phone system. The original installers (phone people) seem to
> know nothing about the superuser account, or the db admin account,
> and the pg_dump needs a password authentication.
>
> The pg_dump command is asking for the password for user
> "Administrator." I'm logged into the server (a Windows Server) as
> the Admin user, but it is NOT THAT password it wants, because that
> one fails. I am using the command:
>
> pg_dump -p 6432 eware -f D:\Util\pgdump.log
>
> If they did not configure a default password at install, how can I
> set up a superuser acct and password so I can do some admin work
> with this pg database? Right now I have no console level access
> to this thing.

You might want to temporarily modify pg_hba.conf or pgpass to get
through this, and then review how you want to handle security long
term (which *might* involve making your emergency fix permanent).

http://www.postgresql.org/docs/current/interactive/auth-pg-hba-conf.html

http://www.postgresql.org/docs/current/interactive/libpq-pgpass.html

-Kevin

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ben Kim 2010-10-12 20:17:47 compare two rows
Previous Message George Clark 2010-10-12 19:49:37 default console user authentication?