Re: adding a superuser - Mailing list pgsql-general

From TeuK
Subject Re: adding a superuser
Date
Msg-id 9o2dhq$gc$1@front4m.grolier.fr
Whole thread Raw
List pgsql-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@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
>
>



pgsql-general by date:

Previous
From: Culley Harrelson
Date:
Subject: Encoding
Next
From: "Chris Boyle"
Date:
Subject: Re: NewYork Bombing: SQL server bomb proof!!