Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group