Re: adding a superuser

Поиск
Список
Период
Сортировка
От TeuK
Тема Re: adding a superuser
Дата
Msg-id 9o2dhq$gc$1@front4m.grolier.fr
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Culley Harrelson
Дата:
Сообщение: Encoding
Следующее
От: "Chris Boyle"
Дата:
Сообщение: Re: NewYork Bombing: SQL server bomb proof!!