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 546263A4F1F for ; Thu, 13 Jan 2005 12:06:56 +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 32875-02 for ; Thu, 13 Jan 2005 12:06:38 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.204]) by svr1.postgresql.org (Postfix) with ESMTP id 329683A5AA8 for ; Thu, 13 Jan 2005 12:06:40 +0000 (GMT) Received: by rproxy.gmail.com with SMTP id i8so308072rne for ; Thu, 13 Jan 2005 04:06:40 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Nv9RrM4cq4GTsQ1Pl/XL2mg5n5QAvDQt6RUFLqrbzfp16EhZrYu7XQFuiwzeW8vhQHucXCsTWQJtUxd3epyW7nPx+sQLhSTzoQSlkOWxDdBpU87/Ql7iHHNxSaVDRzA/VW9SfuxGu+Z3v7MW4n3H2DpiqL3kKmmgEGncIaDCZSw= Received: by 10.38.78.54 with SMTP id a54mr216181rnb; Thu, 13 Jan 2005 04:06:40 -0800 (PST) Received: by 10.38.163.47 with HTTP; Thu, 13 Jan 2005 04:06:40 -0800 (PST) Message-ID: <758d5e7f05011304065d7e56a0@mail.gmail.com> Date: Thu, 13 Jan 2005 13:06:40 +0100 From: Dawid Kuroczko Reply-To: Dawid Kuroczko To: pgsql-admin@postgresql.org Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate! In-Reply-To: <41E5FE80.8080402@commandprompt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <4001DEAF7DF9BD498B58B45051FBEA650207AAD3@25exch1.vicorpower.vicr.com> <41E5FE80.8080402@commandprompt.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.54 tagged_above=0 required=5 tests=FROM_ENDS_IN_NUMS, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200501/106 X-Sequence-Number: 15965 On Wed, 12 Jan 2005 20:52:16 -0800, Joshua D. Drake wrote: > >Whatever, I'll keep root only for absolutely restricted use & install > >under a separate user account. Works just fine & it makes the auditors > >& sysadmin feel better. > I don't argue the point of using root. I agree with you there. > Just the point that if it is owned by root it executes as root. But only if either setuid root or executed by root. Hey, on my system even /bin/sh is owned by root; it would be funny of it executed as root I see one reason to use 'postgres' as the install user -- to give access to psql binaries to group of users (say, members of postgres group). But I think PostgreSQL's own permission system is enough for the job. :) Regards, Dawid