pgsql: Prevent pg_resetxlog from being run as root.

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent pg_resetxlog from being run as root.
Date: 2004-12-14 01:59:43
Message-ID: 20041214015943.BB1E63A62C8@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Prevent pg_resetxlog from being run as root. If this is allowed, some
root-owned files will be written to the data directory, leaving it in an
unusable state.

Modified Files:
--------------
pgsql/src/bin/pg_resetxlog:
pg_resetxlog.c (r1.25 -> r1.26)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_resetxlog/pg_resetxlog.c.diff?r1=1.25&r2=1.26)

Browse pgsql-committers by date

  From Date Subject
Next Message User Aglio 2004-12-14 07:05:44 press - pr: Text file put up for initial HTML markup by Emily.
Previous Message Peter Eisentraut 2004-12-14 00:36:28 pgsql: Add more port reports.