From: ertan.kucukoglu@1nar.com.tr
To: david.g.johnston@gmail.com
Cc: pgsql-general@lists.postgresql.org
Subject: Re: pg_dump problem with postgres user
Date: Mon, 13 Feb 2023 00:10:38 +0300
Message-ID: <001601d93f26$75663540$60329fc0$@1nar.com.tr> (raw)
Hello,
My service provider spam filter just blocked your message and so I send a
separate one.
Your suspicion seems like correct. Postgres user is no more a superuser.
Seems like they added postgresql_user and made it superuser.
I thought I only allow access with certificate to the database.
OS access is limited to single IP. Probably this is the weak point.
I should read more about security in general.
postgres=> \du+
List of roles
Role name | Attributes | Member
of | Description
-----------------+-------------------------------------------------+--------
---+-------------
postgres | Create role, Create DB, Replication, Bypass RLS | {}
|
postgresql_user | Superuser | {}
|
postgres=>
Is it possible to put everything back to normal?
Can I use single user mode to change passwords and permissions?
Thanks & Regards,
Ertan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ertan.kucukoglu@1nar.com.tr, david.g.johnston@gmail.com
Subject: Re: pg_dump problem with postgres user
In-Reply-To: <001601d93f26$75663540$60329fc0$@1nar.com.tr>
References: <001601d93f26$75663540$60329fc0$@1nar.com.tr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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