[Top][All Lists]

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

[Gnumed-devel] Re: bootstrap*

From: Andreas Tille
Subject: [Gnumed-devel] Re: bootstrap*
Date: Fri, 31 Jan 2003 09:13:49 +0100 (CET)

On Thu, 30 Jan 2003, Karsten Hilbert wrote:

> Not that easy. All GnuMed databases/database objects are to be
> owned by user "gm-dbowner". One needs to get a password for
> this user from somewhere. Also - except for the admittedly
> most common case of connecting to localhost - we would also
> need the password for the user "postgres".
Well, as I explained: We do not necessarily need any postges password.
I do not even know the password of postgres on any of my machines.

Idea:  Do *all* things to do as user postgres.  Create user gm-dbowner
later on (perhaps with random password) and grant all necessary tables
etc. to this owner.  Provide an additional script which enables the
user to change gm-dbowner password (which might be called as
    su postgres -c <script>  .)
This should make it possible to bootstrap without typing in any password.

> > The first time a client is started, you have to enter backend information. 
> > The
> > client then checks whether the backend has already been configured. If not,
> > configuration dialog is presented.
> Yes.
Perhaps we should set a flag anywhere whether gm-dbowner password is
the random choice password and if so present a dialog how to set it
on the server machine once it is *really* needed.

> What you describe is amazingly similar to my intentions.
I feel that our intentions become convergent. ;-)

Kind regards


reply via email to

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