Re: Recognizing superuser in pg_hba.conf
От
Tom Lane
Тема
Re: Recognizing superuser in pg_hba.conf
Дата
Msg-id
12997.1577998192@sss.pgh.pa.us
Ответ на
Re: Recognizing superuser in pg_hba.conf (Andrew Gierth)
Список
Дерево обсуждения
Recognizing superuser in pg_hba.conf Vik Fearing <vik.fearing@2ndquadrant.com>
Re: Recognizing superuser in pg_hba.conf Tom Lane <tgl@sss.pgh.pa.us>
Re: Recognizing superuser in pg_hba.conf Vik Fearing <vik.fearing@2ndquadrant.com>
Re: Recognizing superuser in pg_hba.conf Robert Haas <robertmhaas@gmail.com>
Re: Recognizing superuser in pg_hba.conf Tom Lane <tgl@sss.pgh.pa.us>
Re: Recognizing superuser in pg_hba.conf Vik Fearing <vik.fearing@2ndquadrant.com>
Re: Recognizing superuser in pg_hba.conf Vik Fearing <vik.fearing@2ndquadrant.com>
Re: Recognizing superuser in pg_hba.conf David Fetter <david@fetter.org>
Re: Recognizing superuser in pg_hba.conf Stephen Frost <sfrost@snowman.net>
Re: Recognizing superuser in pg_hba.conf Christoph Moench-Tegeder <cmt@burggraben.net>
Re: Recognizing superuser in pg_hba.conf Tom Lane <tgl@sss.pgh.pa.us>
Re: Recognizing superuser in pg_hba.conf Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Recognizing superuser in pg_hba.conf Tom Lane <tgl@sss.pgh.pa.us>
Re: Recognizing superuser in pg_hba.conf Stephen Frost <sfrost@snowman.net>
Re: Recognizing superuser in pg_hba.conf Tom Lane <tgl@sss.pgh.pa.us>
Re: Recognizing superuser in pg_hba.conf Stephen Frost <sfrost@snowman.net>
Re: Recognizing superuser in pg_hba.conf Tom Lane <tgl@sss.pgh.pa.us>
Re: Recognizing superuser in pg_hba.conf Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Recognizing superuser in pg_hba.conf Vik Fearing <vik.fearing@2ndquadrant.com>
Re: Recognizing superuser in pg_hba.conf Simon Riggs <simon@2ndquadrant.com>
Re: Recognizing superuser in pg_hba.conf Tom Lane <tgl@sss.pgh.pa.us>
Re: Recognizing superuser in pg_hba.conf Stephen Frost <sfrost@snowman.net>
Re: Recognizing superuser in pg_hba.conf Robert Haas <robertmhaas@gmail.com>
Re: Recognizing superuser in pg_hba.conf Tom Lane <tgl@sss.pgh.pa.us>
Re: Recognizing superuser in pg_hba.conf Robert Haas <robertmhaas@gmail.com>
Re: Recognizing superuser in pg_hba.conf Tom Lane <tgl@sss.pgh.pa.us>
Re: Recognizing superuser in pg_hba.conf Stephen Frost <sfrost@snowman.net>
Re: Recognizing superuser in pg_hba.conf Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: Recognizing superuser in pg_hba.conf Tom Lane <tgl@sss.pgh.pa.us>
Re: Recognizing superuser in pg_hba.conf Daniel Gustafsson <daniel@yesql.se>
Re: Recognizing superuser in pg_hba.conf Vik Fearing <vik@postgresfriends.org>
Re: Recognizing superuser in pg_hba.conf Vik Fearing <vik.fearing@2ndquadrant.com>
Re: Recognizing superuser in pg_hba.conf Tom Lane <tgl@sss.pgh.pa.us>
Re: Recognizing superuser in pg_hba.conf Stephen Frost <sfrost@snowman.net>
Re: Recognizing superuser in pg_hba.conf Vik Fearing <vik.fearing@2ndquadrant.com>
Re: Recognizing superuser in pg_hba.conf Robert Haas <robertmhaas@gmail.com>
Andrew Gierth writes: > "Tom" == Tom Lane writes: > Tom> Meh. If the things aren't actually roles, I think this'd just add > Tom> confusion. Or were you proposing to implement them as roles? I'm > Tom> not sure if that would be practical in every case. > In fact my original suggestion when this idea was discussed on IRC was > to remove the current superuser flag and turn it into a role; but the > issue then is that role membership is inherited and superuserness > currently isn't, so that's a more intrusive change. To cover the proposed functionality, you'd still need some way to select not-superuser. So I don't think this fully answers the need even if we wanted to do it. It's possible that role-ifying everything and then allowing "!role" in the pg_hba.conf syntax would be enough. Not sure though. More generally, allowing inheritance of superuser scares me a bit from a security standpoint. I wouldn't mind turning all the other legacy role properties into grantable roles, but I *like* the fact that that one is special. regards, tom lane
В списке pgsql-hackers по дате отправления
От: Jeff Janes
Дата: