Re: adding a superuser

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Karl Babcock <karl(at)knbenterprises(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: adding a superuser
Date: 2001-09-17 17:20:17
Message-ID: Pine.BSF.4.21.0109171019390.58434-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-general

On Sat, 15 Sep 2001, Karl Babcock wrote:

> Hi, I have just installed PostgreSQL 7.1 and am having a hard time adding
> users. I am trying to add a superuser but I keep getting errors with the
> createuser script.
>
> I am user 'root' on the Linux system when I run:
>
> lightning:/# createuser -d -a root
> psql: FATAL 1: user "root" does not exist
> createuser: creation of user "root failed
>
> Does anyone know how I could create a superuser or any user?

What does your pg_hba.conf say about local connections?

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Sameer Maggon 2001-09-22 05:25:24 Full text search
Previous Message Oliver Elphick 2001-09-17 15:19:06 Re: adding a superuser

Browse pgsql-general by date

  From Date Subject
Next Message Andre Schnabel 2001-09-17 17:21:06 Re: commercial usage with odbc
Previous Message Mihai Gheorghiu 2001-09-17 16:19:04 What is faster?