Re: Authenticating user `postgres'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Arcady Genkin <a(dot)genkin(at)utoronto(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Authenticating user `postgres'
Date: 2001-09-28 13:21:47
Message-ID: 12232.1001683307@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Arcady Genkin <a(dot)genkin(at)utoronto(dot)ca> writes:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>> Offhand I'd think it foolish to make it easier to get into the
>> superuser account than regular accounts anyway.

> Not so much if the database only listens on unix domain socket, which
> has tight permissions, and a UNIX user has to identify himself with a
> valid password anyways.

So? If you can trust local connections from the user who is superuser
to be correctly authenticated, then you can also trust local connections
from the users who are non-superusers. I really completely fail to see
the point of requiring a password to connect to non-critical accounts
while having no password (*LESS* security) for the critical superuser
account.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message sreedhar 2001-09-28 13:29:10
Previous Message Benjamin Franks 2001-09-28 13:18:40 Re: PostgreSQL 7.1 on SMP: FreeBSD 4.3 || Linux 2.4.x?