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 A01DB3A573A for ; Thu, 13 Jan 2005 14:56: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 54328-04 for ; Thu, 13 Jan 2005 14:55:49 +0000 (GMT) Received: from hosting.commandprompt.com (128.commandprompt.com [207.173.200.128]) by svr1.postgresql.org (Postfix) with ESMTP id 4554C3A4E17 for ; Thu, 13 Jan 2005 14:55:27 +0000 (GMT) Received: from [192.168.1.20] (clbb-248.saw.net [64.146.135.248]) (authenticated bits=0) by hosting.commandprompt.com (8.12.8/8.12.8) with ESMTP id j0DEtPQ0016450; Thu, 13 Jan 2005 06:55:25 -0800 Message-ID: <41E68BDD.8070608@commandprompt.com> Date: Thu, 13 Jan 2005 06:55:25 -0800 From: "Joshua D. Drake" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Eisentraut Cc: "Tomeh, Husam" , PgSQL ADMIN Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate! References: <200501130100.32307.peter_e@gmx.net> <200501130927.42130.peter_e@gmx.net> In-Reply-To: <200501130927.42130.peter_e@gmx.net> Content-Type: multipart/mixed; boundary="------------080906000909090605010203" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.033 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/110 X-Sequence-Number: 15969 This is a multi-part message in MIME format. --------------080906000909090605010203 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit >Those who dismiss this advice as my own imagination may want to check >how other server packages are installed on their system. > >What user does sshd run under? Who owns /usr/sbin/sshd? > >What user does the MTA run under? Who owns the binaries? > >What user does Apache run under? Who owns the binaries? > >etc. > > Peter is correct on this. Most daemon level items typically run as their own user to protect the rest of the system. Sincerely, Joshua D. Drake >On my system, the answer is sshd/postfix/www-data on the one side and >root on the other. Therefore it is consistent to use postgres and root >for PostgreSQL. If your system uses a different distribution of users, >you may want to adjust the PostgreSQL installation accordingly. But >note that this voids your warranty because it is not covered by the >installation instructions. :) > > > -- Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC Postgresql support, programming shared hosting and dedicated hosting. +1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com PostgreSQL Replicator -- production quality replication for PostgreSQL --------------080906000909090605010203 Content-Type: text/x-vcard; charset=utf-8; name="jd.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="jd.vcf" begin:vcard fn:Joshua Drake n:Drake;Joshua org:Command Prompt, Inc. adr:;;PO Box 215 ;Cascade Locks;OR;97014;US email;internet:jd@commandprompt.com title:Consultant tel;work:503-667-4564 tel;fax:503-210-0334 x-mozilla-html:FALSE url:http://www.commandprompt.com version:2.1 end:vcard --------------080906000909090605010203--