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 857683A5DFD for ; Wed, 12 Jan 2005 23:47:08 +0000 (GMT) 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 98115-01 for ; Wed, 12 Jan 2005 23:46:58 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by svr1.postgresql.org (Postfix) with ESMTP id 48E923A49A6 for ; Wed, 12 Jan 2005 23:47:00 +0000 (GMT) Received: by rproxy.gmail.com with SMTP id g11so125219rne for ; Wed, 12 Jan 2005 15:47:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=I+w5l2rmpYTvf0MPZPNDEReFP/jIBM5ghYzt1pwNVF9mqiZ+BqazdQ2ODOt6dp+FwHL1NdVRuah9zLkTCQcUpICJ0n28rPZWlUv0IcRfvJ3oSfJ0CX+I9/LoRrnTHWOiIOWbuGCub+sEOqHK59/Gc0y3rHW57m7hlo836rmEUoA= Received: by 10.38.9.63 with SMTP id 63mr146453rni; Wed, 12 Jan 2005 15:47:00 -0800 (PST) Received: by 10.38.162.36 with HTTP; Wed, 12 Jan 2005 15:47:00 -0800 (PST) Message-ID: <59d991c405011215476c7910e1@mail.gmail.com> Date: Wed, 12 Jan 2005 18:47:00 -0500 From: Christopher Petrilli Reply-To: Christopher Petrilli To: "Tomeh, Husam" Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate! Cc: PgSQL ADMIN In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 tagged_above=0 required=5 tests=RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200501/88 X-Sequence-Number: 15947 On Wed, 12 Jan 2005 15:30:06 -0800, Tomeh, Husam wrote: > I've seen book that prefer installing PostgreSQL as root and another one > recommends otherwise by first creating a postgres account and then > installing it as postgres. In the Oracle world, you don't use root to > install the software. What is the best practice as far as PostgreSQL > goes? There is absolutely no reason to install as root. I always create a user (for me, it's 'pgsql') and then run the installer as that user. That does mean that the directory (/usr/local/pgsql/) must already be created and owned (it's the home for my user). The less done as root, the better. Chris -- | Christopher Petrilli | petrilli@gmail.com