Cannot initdb on fresh install

From: Dimitri <dimitri(at)shackletonpacific(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Cannot initdb on fresh install
Date: 2016-02-03 18:13:18
Message-ID: 56B2433E.9050501@shackletonpacific.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Greetings

I am attempting a fresh install of postgresql9.5 on FreeBSD
I am at the point of initialising the database server. When I issue the
initdb command (see below) I am requested to enter a password. Which
password am I meant to insert here?
When I cat /etc/passwd I notice there is a user pgsql ( a pseudo user)
which I never created so I dont know what the password is for pgsql.
I have tried using the root password, my user's password, and a user I
created (postgres) but all to no avail.
Can anyone help me along?
Regards
Dimitri

$ /usr/local/etc/rc.d/postgresql initdb
Password:
su: Sorry

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2016-02-03 18:22:35 Re: Cannot initdb on fresh install
Previous Message Alvaro Herrera 2016-02-02 07:45:39 Re: pgadmin3 server status windows completely blank