Skip site navigation (1) Skip section navigation (2)

Re: Login problem

From: John DeSoi <desoi(at)pgedit(dot)com>
To: Danjel Jungersen <danjel(at)jungersen(dot)dk>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Login problem
Date: 2005-12-18 03:51:55
Message-ID: 3B66675B-871D-4457-8C31-A42633063405@pgedit.com (view raw or flat)
Thread:
Lists: pgsql-novice
On Dec 17, 2005, at 11:10 AM, Danjel Jungersen wrote:

> Is there anywhere I can see what databases that are created, and
> which users are created?
> Is there anyway to see the users passwords, or to "reset" them ?


Modify your pg_hba.conf file to trust local connections. Then you can  
login with psql without a password. From there you can use the ALTER  
USER command to reset passwords. Don't forget to reverse your  
pg_hba.conf changes when you are done.

http://www.postgresql.org/docs/8.0/interactive/client- 
authentication.html#AUTH-PG-HBA-CONF


John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


In response to

Responses

pgsql-novice by date

Next:From: Danjel JungersenDate: 2005-12-18 10:44:00
Subject: Re: Login problem
Previous:From: Tirant Lo BlancDate: 2005-12-17 20:30:10
Subject: Small function in PLPGSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group