[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health-dev] Secure PostgreSQL connection?

From: Gerald Wiese
Subject: Re: [Health-dev] Secure PostgreSQL connection?
Date: Thu, 24 Feb 2022 13:27:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0


getting back to this PostgreSQL config:

I tried to replace "local all all trust" by "local health tryton trust" on openSUSE and "local health gnuhealth trust" on Ubuntu/Debian and it works. As it's more precise / secure I suggest to change it in the documentation (regarding wikibooks installation chapter and openSUSE specific installation instructions).

Besides I tested to have PostgreSQL on another system which is not part of the documentation yet. I could work on this as well. Until here I got it running but not yet fulfilling best practices I think.

Before editing wikibooks I would like to know if there is already work in progress for a HMIS documentation in RST like for MyGNUHealth / Thalamus?

In general having an up to date documentation with 4.0 would be nice as there are some very old parts like mentionning HMIS version 3.0 or even Python2.



On 27.01.22 21:43, Luis Falcon wrote:
Hi, Gerald!

On 2022-01-27 15:18, Gerald Wiese wrote:

I remember someone questionning the PostgreSQL connection method during the GNU Health Con because pretty much everywhere in documentations "local all trust" is advised.

Is it really used like this for productive settings?

I feel OK with it, as long as it's restricted to localhost, the server dedicated to GH. It's the default method in systems such as FreeBSD and Arch.

Moreover, you still need a validated OS & Postgres user to login.

Of course, we can document other postgres authentication methods and let the admin decide which one to use.

All the best

reply via email to

[Prev in Thread] Current Thread [Next in Thread]