Skip site navigation (1) Skip section navigation (2)

Re: adding a superuser

From: "TeuK" <humpf(at)yahoo(dot)fr>
To: pgsql-docs(at)postgresql(dot)org(dot)pgsql-general(at)postgresql(dot)org
Subject: Re: adding a superuser
Date: 2001-09-16 14:38:51
Message-ID: 9o2dhq$gc$1@front4m.grolier.fr (view raw or flat)
Thread:
Lists: pgsql-docspgsql-general
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(at)knbenterprises(dot)com> a crit dans le message news:
_pQo7(dot)71168$xb(dot)37085264(at)news1(dot)mntp1(dot)il(dot)home(dot)com(dot)(dot)(dot)
> 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
>
>



In response to

Responses

pgsql-docs by date

Next:From: Karl BabcockDate: 2001-09-16 16:09:02
Subject: Re: adding a superuser
Previous:From: Arne WeinerDate: 2001-09-16 10:01:53
Subject: Re: adding a superuser

pgsql-general by date

Next:From: Karl BabcockDate: 2001-09-16 16:09:02
Subject: Re: adding a superuser
Previous:From: Justin CliftDate: 2001-09-16 11:43:47
Subject: PostgreSQL jobs page updated (included Red Hat's search for Database Engineers)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group