Re: Installing PostgreSQL as "postgress" versus "root" Debate!

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: "Tomeh, Husam" <htomeh(at)firstam(dot)com>, PgSQL ADMIN <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate!
Date: 2005-01-13 14:55:25
Message-ID: 41E68BDD.8070608@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


>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(at)commandprompt(dot)com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL

Attachment Content-Type Size
jd.vcf text/x-vcard 285 bytes

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tomeh, Husam 2005-01-13 16:06:05 Re: Installing PostgreSQL as "postgress" versus "root"
Previous Message Goulet, Dick 2005-01-13 14:50:15 Re: Installing PostgreSQL as "postgress" versus "root" Debate!