pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: TeuK <humpf@yahoo.fr>
To: pgsql-docs@postgresql.org.pgsql-general
Subject: Re: adding a superuser
Date: Sun, 16 Sep 2001 16:38:51 +0200
Message-ID: <9o2dhq$gc$1@front4m.grolier.fr> (raw)
References: <_pQo7.71168$xb.37085264@news1.mntp1.il.home.com>

I think user root is not known in Postgres user and that's why you want to
add it (;

try :

createuser -d -a -U postgres root

As a rule postgres is running under postgres user account that is a
superuser.

So try psl -U postgres
"Karl Babcock" <karl@knbenterprises.com> a écrit dans le message news:
_pQo7.71168$xb.37085264@news1.mntp1.il.home.com...
> 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?
>
> Thanks in advance,
>
> Karl
>
>





view thread (7+ messages)  latest in thread

Message-ID: <9o2dhq$gc$1@front4m.grolier.fr>
Permalink:  ../9o2dhq$gc$1@front4m.grolier.fr/
Also on:    postgresql.org/message-id/9o2dhq$gc$1@front4m.grolier.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: humpf@yahoo.fr, pgsql-docs@postgresql.org.pgsql-general
  Subject: Re: adding a superuser
  In-Reply-To: <9o2dhq$gc$1@front4m.grolier.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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