From: | "Karl Babcock" <karl(at)knbenterprises(dot)com> |
---|---|
To: | pgsql-docs(at)postgresql(dot)org(dot)pgsql-general(at)postgresql(dot)org |
Subject: | Re: adding a superuser |
Date: | 2001-09-16 16:09:02 |
Message-ID: | y84p7.73922$xb.38456999@news1.mntp1.il.home.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs pgsql-general |
I tried that and it says:
psql: Peer authentication failed for user 'postgres'
createuser: creation of user "root" failed
"TeuK" <humpf(at)yahoo(dot)fr> wrote in message
news:9o2dhq$gc$1(at)front4m(dot)grolier(dot)fr(dot)(dot)(dot)
> 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
> >
> >
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Justin Clift | 2001-09-16 18:31:17 | Re: [GENERAL] SQL Server to PostgreSQL HOWTO |
Previous Message | TeuK | 2001-09-16 14:38:51 | Re: adding a superuser |
From | Date | Subject | |
---|---|---|---|
Next Message | Marc G. Fournier | 2001-09-16 17:05:45 | Major change to CVS effective immediately ... |
Previous Message | TeuK | 2001-09-16 14:38:51 | Re: adding a superuser |