trust auth in 7.4

From: Henk van Lingen <henkvl(at)cs(dot)uu(dot)nl>
To: pgsql-general(at)postgresql(dot)org
Subject: trust auth in 7.4
Date: 2004-01-22 14:33:05
Message-ID: 20040122143305.GF6893@cs.uu.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

docs say (19.2.1):

When trust authentication is specified, PostgreSQL assumes that anyone who
can connect to the server is authorized to access the database as whatever
database user he specifies (including the database superuser). This method
should only be used when there is adequate operating system-level
protection on connections to the server.

but nowadays one can specify users in pg_hba.conf, and 19.1 says:

user

Specifies which PostgreSQL users this record matches. The value all
specifies that it matches all users. Otherwise, this is the name of a
specific PostgreSQL user. Multiple user names can be supplied by
separating them with commas. Group names can be specified by preceding
the group name with +. A file containing user names can be specified by
preceding the file name with @. The file must be in the same directory
as pg_hba.conf.

Which of these is right? I hope the last also holds for 'trust' lines?

(and yes, i know you don't want to use this :-))

Regards,
--
Henk van Lingen, Systems & Network Administrator (o- -+
Dept. of Computer Science, Utrecht University. /\ |
phone: +31-30-2535278 v_/_
http://henk.vanlingen.net/ http://www.tuxtown.net/netiquette/

Responses

Browse pgsql-general by date

  From Date Subject
Next Message lnd 2004-01-22 14:38:42 Re: tablespaces a priority for 7.5?
Previous Message Cott Lang 2004-01-22 13:55:21 Re: tablespaces a priority for 7.5?