|
From: | Emilien Klein |
Subject: | Re: [Health-dev] postgres passwd while installing GNU Health |
Date: | Mon, 5 Aug 2013 15:40:30 +0200 |
Dear Kaushik
On 05/08/2013 05:55, Kaushik wrote:You probably executed the su command from your non-root user, thus it
> Dear all,
> The wiki for installation gives the following instruction for
> creating a postgres user -
>
> su - postgres -c "createuser --createdb --no-createrole --no-superuser gnuhealth"
>
>
> However, I got an authentication failure. I assigned a password for
> postgres by doing -
> sudo passwd postgres
asked for the postgres password.
>It is ok to do it with the sudo command also.
> Then I was able to run the createuser command above. Could you please
> confirm if this is ok?. If so, should we add the add the instruction to
> the wiki to configure a postgres passwd. Or should we make sure that a
> postgres passwd does not exist.
They are two different things. One thing is to assign a password to
postgres at operating system level (is optional) the user and the other
is to create the user "gnuhealth" in postgres.
Best,
>
> Kaushik
>
>
>
>
>
--
Luis Falcon
http://health.gnu.org
[Prev in Thread] | Current Thread | [Next in Thread] |