X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 863E132A24C for ; Fri, 1 Oct 2004 15:55:07 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 51294-03 for ; Fri, 1 Oct 2004 14:54:56 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 1A0DB32A1E4 for ; Fri, 1 Oct 2004 15:54:59 +0100 (BST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id i91EstJG009568; Fri, 1 Oct 2004 10:54:56 -0400 (EDT) To: "Gonzales,S" Cc: pgsql-admin@postgresql.org Subject: Re: securing template1 In-reply-to: References: Comments: In-reply-to "Gonzales,S" message dated "Mon, 27 Sep 2004 16:50:42 +0200" Date: Fri, 01 Oct 2004 10:54:55 -0400 Message-ID: <9567.1096642495@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/14 X-Sequence-Number: 15008 "Gonzales,S" writes: > How do i prevent ordinary users from altering the template1 database, > eg they can create tables in template1; Revoke public's CREATE rights on the public schema in template1. See the GRANT and REVOKE manual pages. regards, tom lane