Received: from web207.mail.yahoo.com (web207.mail.yahoo.com [128.11.68.107]) by hub.org (8.9.3/8.9.3) with SMTP id CAA71646 for ; Fri, 2 Jun 2000 02:54:43 -0400 (EDT) (envelope-from mrk279@yahoo.com) Received: (qmail 6227 invoked by uid 60001); 2 Jun 2000 06:54:43 -0000 Message-ID: <20000602065443.6226.qmail@web207.mail.yahoo.com> Received: from [212.95.170.116] by web207.mail.yahoo.com; Thu, 01 Jun 2000 23:54:43 PDT Date: Thu, 1 Jun 2000 23:54:43 -0700 (PDT) From: R D Subject: Re: Re: few more securiry questions :-) To: Peter Eisentraut Cc: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200006/17 --- Peter Eisentraut wrote: > Chris Albertson writes: > > > > > 2.Why the authentication system is not > integrated in > > > > the system databases of pgSQL,like in MySQL > for > > > > example? > > > > > > Because there's a bootstrapping problem: You > would have to connect to the > > > database to change the authentication settings, > but in order to connect > > > you have to be authenticated. > > > > That's not to hard to fix. You just have initdb > create system catalogs > > with a the required settings. > > But when you accidentally hose things up then you > have no way to get in a > repair things. It also looks like a race condition > waiting to happen. > OK! Bit I think there could be a solution for this. You can inplement some option in the postmaster to trust to some user from localhost, for example: "postmaster --trust postgres &" this should give you a root acess to dbs from user postgres ;-) and there should no be problem to repair the things (if you know what you are doing ofcourse :-)). regards, Rumen __________________________________________________ Do You Yahoo!? Yahoo! Photos -- now, 100 FREE prints! http://photos.yahoo.com