pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
default console user authentication?
2+ messages / 2 participants
[nested] [flat]

* default console user authentication?
@ 2010-10-12 19:49  George Clark <grclark78@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: George Clark @ 2010-10-12 19:49 UTC (permalink / raw)
  To: pgsql-admin

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.

BTW.. yes, I tried it with a blank password, no luck there either.

Thanks to the list for any help.

-- 
*<><><><><><><><><><><><><><><><>*
*"I believe in the sun even if it isn't shining. *
*I believe in love even when I am alone. *
*I believe in God even when He is silent." *
**-- Author Unknown

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: default console user authentication?
@ 2010-10-12 20:08  Kevin Grittner <Kevin.Grittner@wicourts.gov>
  parent: George Clark <grclark78@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Kevin Grittner @ 2010-10-12 20:08 UTC (permalink / raw)
  To: George Clark <grclark78@gmail.com>; pgsql-admin

George Clark <grclark78@gmail.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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-10-12 20:08 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-10-12 19:49 default console user authentication? George Clark <grclark78@gmail.com>
2010-10-12 20:08 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox