[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnumed-devel] Password for gm-dbo
From: |
Sebastian Hilbert |
Subject: |
[Gnumed-devel] Password for gm-dbo |
Date: |
Thu, 8 Jul 2010 13:29:53 +0200 |
User-agent: |
KMail/1.13.3 (Linux/2.6.31.12-0.2-default; KDE/4.4.5; i686; ; ) |
Hi all,
A user mailed in asking about the password for gm-dbo because that password is
needed to register a new GNUmed user or enlist a patient as staff.
It turns out that gm-bootstrap_server does not ask for the gm-dbo password. It
seems to set a password (maybe blank one) So the user is left in the dark
about it.
Could someone supply the psql commands to alter the password ? Maybe a script
could be written that will ask for the root password (sudo su), switch to
postgres and after requesting a password for gm-dbo on the cmd line set this
password.
The password for gm-dbo can theoretically be set through pgadmin3. This
however needs the password for postgres (db-user , not the system user) which
is empty and needs to be set as well beforehand.
The other less secure option would be to change pg_hba.conf
and edit the line
host all all 127.0.0.1/32 trust # from the original md5
Please advise
Sebastian
- [Gnumed-devel] Password for gm-dbo,
Sebastian Hilbert <=