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

Re: Login problem

From: Frank Bax <fbax(at)sympatico(dot)ca>
To: pgsqlnovice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Login problem
Date: 2005-12-20 18:27:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
At 12:22 PM 12/20/05, Danjel Jungersen wrote:

>On 20 Dec 2005 at 12:05, Tom Lane wrote:
> > "Danjel Jungersen" <danjel(at)jungersen(dot)dk> writes:
> > > On 20 Dec 2005 at 8:37, John DeSoi wrote:
> > >> Do you know who created the database cluster with initdb? Perhaps
> > >> they used their own user name rather than postgres.
> >
> > > I did :-)
> > > as root...
> >
> > I don't think so.  initdb refuses to run as root.  However, the default
> > PG superuser account will be named the same as the Unix account that you
> > used to run initdb.
>Well, I did run it as root, but I have just this moment figured it
>out, the name was _postgresql (I have no idea where that name comes

The username "_postgresql" came from your own fingers; it's a naming 
standard for OpenBSD services.  You also did not run initdb as root - the 
OpenBSD installation instructions directed you to create a user called 
_postgresql, then su to that user and run initdb.  Perhaps you should reread:


In response to

pgsql-novice by date

Next:From: operationsengineer1Date: 2005-12-20 19:46:42
Subject: Re: Install Error
Previous:From: Danjel JungersenDate: 2005-12-20 17:22:43
Subject: Re: Login problem

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