Re: adding a superuser

Поиск
Список
Период
Сортировка
От Karl Babcock
Тема Re: adding a superuser
Дата
Msg-id y84p7.73922$xb.38456999@news1.mntp1.il.home.com
обсуждение исходный текст
Ответы Re: [DOCS] adding a superuser  ("Oliver Elphick" <olly@lfix.co.uk>)
Список pgsql-general
I tried that and it says:

psql: Peer authentication failed for user 'postgres'
createuser: creation of user "root" failed


"TeuK" <humpf@yahoo.fr> wrote in message
news:9o2dhq$gc$1@front4m.grolier.fr...
> 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 по дате отправления:

Предыдущее
От: degoble@sgtech (David. E. Goble)
Дата:
Сообщение: I could do with some guidance
Следующее
От: "Krog, Kenneth"
Дата:
Сообщение: Dropping Fields In A Table