pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #13649: system catalog pg_authid doesn't update automatically
2+ messages / 2 participants
[nested] [flat]
* BUG #13649: system catalog pg_authid doesn't update automatically
@ 2015-09-29 02:35 450019844@qq.com
0 siblings, 1 reply; 2+ messages in thread
From: 450019844@qq.com @ 2015-09-29 02:35 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 13649
Logged by: aaron chan
Email address: 450019844@qq.com
PostgreSQL version: 9.5alpha2
Operating system: CentOS release 6.4 (Final)
Description:
step1:revoke "postgres" database user's superuser privilege.
step2:excute query "select relacl from pg_class where relname='pg_authid';"
the query result is "{postgres=arwdDxt/postgres}"
here it says "postgres" database user still has the update privilege ,but in
fact it can't.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #13649: system catalog pg_authid doesn't update automatically
@ 2015-09-29 13:13 Tom Lane <tgl@sss.pgh.pa.us>
parent: 450019844@qq.com
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2015-09-29 13:13 UTC (permalink / raw)
To: 450019844@qq.com; +Cc: pgsql-bugs
450019844@qq.com writes:
> step1:revoke "postgres" database user's superuser privilege.
That's not particularly a supported operation...
> step2:excute query "select relacl from pg_class where relname='pg_authid';"
> the query result is "{postgres=arwdDxt/postgres}"
> here it says "postgres" database user still has the update privilege ,but in
> fact it can't.
There's an additional security filter, independent of granted privileges,
that says that only superusers can directly update system catalogs.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2015-09-29 13:13 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-09-29 02:35 BUG #13649: system catalog pg_authid doesn't update automatically 450019844@qq.com
2015-09-29 13:13 ` Tom Lane <tgl@sss.pgh.pa.us>
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