Received: from quack.kfu.com (quack.kfu.com [205.178.90.194]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fA72JUm48718 for ; Tue, 6 Nov 2001 21:19:30 -0500 (EST) (envelope-from nsayer@quack.kfu.com) Received: from medusa.kfu.com (medusa.kfu.com [3ffe:1200:301b:0:203:47ff:fe05:95f0]) by quack.kfu.com (8.11.6/8.11.6) with ESMTP id fA72JRl41051 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK) for ; Tue, 6 Nov 2001 18:19:33 -0800 (PST) (envelope-from nsayer@quack.kfu.com) From: Nick Sayer Received: from kfu.com (localhost [127.0.0.1]) by medusa.kfu.com (8.11.6/8.11.6) with SMTP id fA72JRd83767 for ; Tue, 6 Nov 2001 18:19:27 -0800 (PST) (envelope-from nsayer@kfu.com) Received: from 66.126.254.34 (SquirrelMail authenticated user nsayer) by medusa.kfu.com with HTTP; Tue, 6 Nov 2001 18:19:27 -0800 (PST) Message-ID: <1709.66.126.254.34.1005099567.squirrel@medusa.kfu.com> Date: Tue, 6 Nov 2001 18:19:27 -0800 (PST) Subject: Problems with user-level security To: X-Mailer: SquirrelMail (version 1.2.0 [rc1]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Filter-Version: 1.7 (medusa.kfu.com) X-Archive-Number: 200111/24 X-Sequence-Number: 2549 Maybe it's just me, but I think pg_hba.conf needs a user column in it. On the one hand, I need local sameuser password because I have untrusted users who should only have access to their own databases. On the other hand, I do a nightly pg_dumpall as part of the backups so that I don't have to dump the actual database working areas. For that to work, I need to say local all password so that my backup script will work. What I *really* want is for an extra column to be added to pg_hba.conf to specify the user of interest. Like this: all local sameuser password backups local all password pgsql local all password Does this make any sense? Is there some way to achieve this I am missing? The only way I can do backups at the moment is introduce a race condition so that anyone can connect to any database they like at certain times of day. Not good.