Re: RedHat 5.2 & PostgreSQL 6.3.2

From: mthomp(at)intertrek(dot)com (Mike Thompson)
To: pgsql-questions(at)postgreSQL(dot)org
Subject: Re: RedHat 5.2 & PostgreSQL 6.3.2
Date: 1999-05-03 08:54:20
Message-ID: 372d5e81.2952656@news.intertrek.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 30 Apr 1999 14:23:58 -0400, Michael Konrad
<mkonrad(at)blue(dot)syr(dot)edu> wrote:

>I have installed PostgreSQL 6.3.2 on RedHat Linux 5.2 by rpm. When I try
>to connect to template1 I get the follow error message:
>Connection to database 'template1' failed.
>Fatal 1: SetUserID: user "mkonrad" is not in "pg_shadow".
>
>I have tried to add myself "createuser" under root and I get the
>following message:
>Connection to database 'template1' failed.
>Fatal1: SetUserID: user "root" is not in "pg_shadow"
>createuser: database access failed.
>
>It is a stock install and I have no idea how the postgres user is set up
>nor can I seem to give myself access when I'm logged in as root.
>
>Help?
>
>Thanks,
>Michael
>
>
1. As root change the password for user postgres.
-- passwd postgres
2. Log in as user postgres and make yourself a user
-- createuser yourname

Browse pgsql-general by date

  From Date Subject
Next Message Righetti Livio 1999-05-03 09:53:06 DBI : Keep the db handle ($dbh) trough several cgi
Previous Message Thomas Malkus 1999-05-03 08:53:22 (no subject)