Skip to content

Instantly share code, notes, and snippets.

View herberthobregon's full-sized avatar
💻
Focusing

Herberth herberthobregon

💻
Focusing
View GitHub Profile
@herberthobregon
herberthobregon / Instruccions.md
Last active August 8, 2024 20:01 — forked from josefglatz/a-sshAndSwitch.sh
Synology cheatsheet: how to query internal Synology postgresql database

Login to the console of the Synology NAS, and make a copy of the PostgreSQL configuration, just to be sure:

sudo cp /etc/postgresql/pg_hba.conf /etc/postgresql/pg_hba.conf.orig

sudo cp /etc/postgresql/postgresql.conf /etc/postgresql/postgresql.conf.orig

Then open the following file:

sudo vim /etc/postgresql/postgresql.conf