aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-10-22 00:24:18 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-10-22 00:24:18 +0000
commitc58675b42886f7aa1d8871d4917d512c477ca402 (patch)
tree6c74154fb1f524d6af23b70666b0797f4295e1e1 /doc/src
parent9eff02f5ac374466e37d63ed4361496a4aeef0d6 (diff)
downloadpostgresql-c58675b42886f7aa1d8871d4917d512c477ca402.tar.gz
postgresql-c58675b42886f7aa1d8871d4917d512c477ca402.zip
Prevent pg_ctl from being run as root. Since it uses configuration files
owned by postgres, doing "pg_ctl start" as root could allow a privilege escalation attack, as pointed out by iDEFENSE. Of course the postmaster would fail, but we ought to fail a little sooner to protect sysadmins unfamiliar with Postgres. The chosen fix is to disable root use of pg_ctl in all cases, just to be confident there are no other holes.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions