pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Durumdara <durumdara@gmail.com>
To: Postgres General <pgsql-general@postgresql.org>
Subject: Re: PGSQL 10, many Random named DB
Date: Wed, 24 Jan 2018 05:42:29 -0800
Message-ID: <5ccfc64e-6b26-341b-cb76-544b17a676bc@aklaver.com> (raw)
In-Reply-To: <CAEcMXh=epOYwL+cSvN0qKzEFkafs1ROo4QmUuFoTS7HM2Zc3Vw@mail.gmail.com>
References: <CAEcMXh=epOYwL+cSvN0qKzEFkafs1ROo4QmUuFoTS7HM2Zc3Vw@mail.gmail.com>

On 01/24/2018 02:52 AM, Durumdara wrote:
> Hello!
> 
> Somewhere the system administrator (who don't know the PG really) 
> installed a PGSQL server (10.x) with a database.
> He couldn't manage the server well.
> 
> Yesterday my colleague saw 21 databases in this server with random names.
> He checked it with built in PGAdmin IV.
> Today we checked it again, and we saw 33 databases.
> 
> The first name is "ahucli" for example - like an aztec king... :-).
> 
> The server OS is Windows, the PGSQL is 10.x.
> 
> What can cause this strange thing?
> 
> 1.) PGAdmin IV bug?

I doubt it but easy enough to double check. Use the psql command line 
tool and do \l. Or find the $PGDATA 
directory(https://www.postgresql.org/docs/10/static/storage-file-layout.html) 
and see how many sub-directories there are base/ where each 
sub-directory is a database.

> 2.) Their server is hacked/cracked from outside?

Is this server accessible from the outside?

> 3.) A wrong configured tool, or an automation?

My bet. Per Vincenzo's post check the logs.

> 4.) "Alien invasion", etc.
> 
> Did you see same thing anywhere?
> 
> Thank you for any advice in this theme!
> 
> Best regards
>     dd
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (11+ messages)  latest in thread

Message-ID: <5ccfc64e-6b26-341b-cb76-544b17a676bc@aklaver.com>
Permalink:  ../5ccfc64e-6b26-341b-cb76-544b17a676bc@aklaver.com/
Also on:    postgresql.org/message-id/5ccfc64e-6b26-341b-cb76-544b17a676bc@aklaver.com

 · 

reply

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: adrian.klaver@aklaver.com, durumdara@gmail.com
  Subject: Re: PGSQL 10, many Random named DB
  In-Reply-To: <5ccfc64e-6b26-341b-cb76-544b17a676bc@aklaver.com>
  References: <CAEcMXh=epOYwL+cSvN0qKzEFkafs1ROo4QmUuFoTS7HM2Zc3Vw@mail.gmail.com> <5ccfc64e-6b26-341b-cb76-544b17a676bc@aklaver.com>

* 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