From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Uwe C. Schroeder <uwe@oss4u.com>
Cc: PostgreSQL Admin <pgsql-admin@postgresql.org>
Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate!
Date: Thu, 13 Jan 2005 16:44:34 -0500 (EST)
Message-ID: <200501132144.j0DLiYv02613@candle.pha.pa.us> (raw)
In-Reply-To: <200501131313.39366.uwe@oss4u.com>
Uwe C. Schroeder wrote:
[ PGP not available, raw data follows ]
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday 13 January 2005 10:52 am, Goulet, Dick wrote:
> > Doug,
> >
> > OK, Assume that the binaries are installed under root, but a
> > hacker cracks PostGres, what is to stop him/her from trashing all of the
> > database files in the first place? Their not owned by root. Installing
> > malware, whether it's actual code or destroying/defacing files causes
> > similar if not identical problems. At least their restricted to the
> > postgres user. And in my book the executables are of zero value whereas
> > the data files, and their contained data, are of infinite value. So
> > under your scheme we're protecting the least valuable part of the
> > system at the expense of the most valuable.
>
> So where is the difference? If all executables AND the data is under the
> postgres account - an intruder hacking the postgres account would still be
> able to destroy your data.
To me the difference is that if you your postgres account is hacked and
you installed as root you can delete your /data and start over knowing
the rest of your install is OK. If your binaries are owned by postgres,
you have to reinstall too.
Of course you might as well reinstall anyway but there is a difference
in knowing the state of the non-/data files.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pgman@candle.pha.pa.us, uwe@oss4u.com
Subject: Re: Installing PostgreSQL as "postgress" versus "root" Debate!
In-Reply-To: <200501132144.j0DLiYv02613@candle.pha.pa.us>
References: <200501131313.39366.uwe@oss4u.com> <200501132144.j0DLiYv02613@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox