pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
password reset
5+ messages / 5 participants
[nested] [flat]

* password reset
@ 2006-05-23 15:03  venu Vempati <venu.vempati@gmail.com>
  0 siblings, 2 replies; 5+ messages in thread

From: venu Vempati @ 2006-05-23 15:03 UTC (permalink / raw)
  To: pgsql-general

Hi group,
thanks for your previous response about the DB storage in postgres.

now, I have a question for a password related issue.As you can see I have
problems with my pwd.
Either I forgot or misconfigured while installing the DB.I have loged in to
XP as the user "vgopal" and it's the Admin account for XP.

C:\Program Files\PostgreSQL\8.1\bin>psql
Password:
psql: FATAL:  password authentication failed for user "vgopal"

what are the options do I have?
1.reset pwd.! how?
2.I can't even create another user/role
(createuser: could not connect to database postgres: FATAL:  password
authentication failed for user "vgopal")

Thanks in advance.
BRs,
--Venu

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

* Re: password reset
@ 2006-05-23 15:19  Bill Moran <wmoran@collaborativefusion.com>
  parent: venu Vempati <venu.vempati@gmail.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Bill Moran @ 2006-05-23 15:19 UTC (permalink / raw)
  To: venu Vempati <venu.vempati@gmail.com>; +Cc: pgsql-general

On Tue, 23 May 2006 17:03:14 +0200
"venu Vempati" <venu.vempati@gmail.com> wrote:

> Hi group,
> thanks for your previous response about the DB storage in postgres.
> 
> now, I have a question for a password related issue.As you can see I have
> problems with my pwd.
> Either I forgot or misconfigured while installing the DB.I have loged in to
> XP as the user "vgopal" and it's the Admin account for XP.
> 
> C:\Program Files\PostgreSQL\8.1\bin>psql
> Password:
> psql: FATAL:  password authentication failed for user "vgopal"
> 
> what are the options do I have?
> 1.reset pwd.! how?
> 2.I can't even create another user/role
> (createuser: could not connect to database postgres: FATAL:  password
> authentication failed for user "vgopal")

You can edit the pg_hba.conf file in PostgreSQL's data directory to change
authentication to "trust" for the local machine.  They'll you'll be able to
log in without a password and you can reset your password, then switch
the pg_hba.conf setting back.

Note that you'll need to restart PostgreSQL for changes to pg_hba.conf to
take effect.

-- 
Bill Moran
Collaborative Fusion Inc.



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

* Re: password reset
@ 2006-05-23 15:33  Jim C. Nasby <jnasby@pervasive.com>
  parent: venu Vempati <venu.vempati@gmail.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Jim C. Nasby @ 2006-05-23 15:33 UTC (permalink / raw)
  To: venu Vempati <venu.vempati@gmail.com>; +Cc: pgsql-general

On Tue, May 23, 2006 at 05:03:14PM +0200, venu Vempati wrote:
> Hi group,
> thanks for your previous response about the DB storage in postgres.
> 
> now, I have a question for a password related issue.As you can see I have
> problems with my pwd.
> Either I forgot or misconfigured while installing the DB.I have loged in to
> XP as the user "vgopal" and it's the Admin account for XP.
> 
> C:\Program Files\PostgreSQL\8.1\bin>psql
> Password:
> psql: FATAL:  password authentication failed for user "vgopal"

Easiest thing would be to edit pg_hba.conf and set localhost access to
trust:

# "local" is for Unix domain socket connections only
local   all         all                               trust
# IPv4 local connections:
host    all         all         127.0.0.1/32          trust
# IPv6 local connections:
host    all         all         ::1/128               trust
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



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

* Password reset
@ 2020-05-17 03:32  Jessie Nava <jessie.nava@jlnavacorp.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Jessie Nava @ 2020-05-17 03:32 UTC (permalink / raw)
  To: pgsql-general

Hello, I have lost my username and password.  I've tried reinstalling but that doesn't allow me to reset my login info.

Can you help here please?

Jessie
(213)393-9365

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

* Re: Password reset
@ 2020-05-17 13:20  Peter J. Holzer <hjp-pgsql@hjp.at>
  parent: Jessie Nava <jessie.nava@jlnavacorp.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Peter J. Holzer @ 2020-05-17 13:20 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

On 2020-05-17 03:32:59 +0000, Jessie Nava wrote:
> Hello, I have lost my username and password.  I’ve tried reinstalling but that
> doesn’t allow me to reset my login info.

You didn't say what OS your database is running on (actually, you didn't
even say you lost the password for your database ...).

On Linux systems PostgreSQL is usually set up so that the user
"postgres" can locally connect without a password. So you would ssh into
the server as postgres and then invoke psql and change any passwords.

        hp

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachments:

  signature.asc (application/pgp-signature, 832B) download

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


end of thread, other threads:[~2020-05-17 13:20 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-05-23 15:03 password reset venu Vempati <venu.vempati@gmail.com>
2006-05-23 15:19 ` Bill Moran <wmoran@collaborativefusion.com>
2006-05-23 15:33 ` Jim C. Nasby <jnasby@pervasive.com>
2020-05-17 03:32 Password reset Jessie Nava <jessie.nava@jlnavacorp.com>
2020-05-17 13:20 ` Re: Password reset Peter J. Holzer <hjp-pgsql@hjp.at>

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