Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9604dn65168 for ; Fri, 5 Oct 2001 20:04:39 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f95NlsR81872 for pgsql-admin@postgresql.org; Fri, 5 Oct 2001 19:47:54 -0400 (EDT) (envelope-from news) From: "Pedro Fonseca" X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Authorization problem Date: Sat, 6 Oct 2001 00:47:24 +0100 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 41 Message-ID: <9plgr9$2fu9$1@news.tht.net> References: <17419.1002305476@sss.pgh.pa.us> X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2919.6600 To: pgsql-admin@postgresql.org X-Archive-Number: 200110/65 X-Sequence-Number: 2311 OK Tom! Many thanks! Best regards. -- ______________________________________________________________________ Pedro Fonseca (pedro.fonseca@iscte.pt) Mob.: (+351)964598357 http://www.pedrofonseca.com ADETTI/ISCTE (Instituto Superior de Ciências do Trabalho e da Empresa) "Tom Lane" wrote in message news:17419.1002305476@sss.pgh.pa.us... > "Pedro Fonseca" writes: > > I mean, this is what the 'trust' AUTHTYPE does! > > Quite. > > > Isn't this a bad thing? > > If you don't trust the users on your local machine, you can't use > "trust" authtype for local connections. It's as simple as that. > > The reason why there's not an equivalent of "ident" auth for local > socket connections is that most platforms don't provide any way to > find out who owns the other end of a local socket connection. > You're wasting your breath to complain to the Postgres developers > about an OS-level deficiency. I'd suggest using ident and TCP/IP. > You can set PGHOST=127.0.0.1 in your environment so you don't need to > think about what kind of connection you are using. > > BTW, PG 7.2 will support ident-like auth on local connections for > a small number of platforms where there is such a facility. But > that doesn't help you today, and won't ever help you if you're not > on one of those platforms. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster