Incorrect password using pg_ctl

From: Matthew Stanfield <matthew(at)propertyknowledge(dot)com>
To: PostgreSQL General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Incorrect password using pg_ctl
Date: 2002-04-17 11:46:13
Message-ID: 3CBD6085.AE8BE644@propertyknowledge.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I've just reinstalled linux (RedHat 7.2) and PostgreSQL (latest version).

When I use pg_ctl in a line such as:

su -c 'pg_ctl start -l /var/lib/pgsql/logs/serverlog
-D /var/lib/pgsql/data -o -i' postgres

I get an 'incorrect password' error. On further examination I've found that
even if using root privileges I can't successfully change the postgres user
password. Since this user was created by the RPM installation of postgres I
have no idea what the password is. How do I change the user postgres
password?

Sorry if this is as much a linux question as postgresql, I thought someone
here may have had the same problem.

Thanks and regards,

Matthew

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Anthony Kwok 2002-04-17 12:09:54 Re: Insert Unicode
Previous Message Administrator 2002-04-17 10:48:44 use of temporary tables in functions