Skip to content

Instantly share code, notes, and snippets.

@josefglatz
Last active July 12, 2024 20:50
Show Gist options
  • Save josefglatz/dd6ad5e6c146b6d389ab64df3b8c720d to your computer and use it in GitHub Desktop.
Save josefglatz/dd6ad5e6c146b6d389ab64df3b8c720d to your computer and use it in GitHub Desktop.
Synology cheatsheet: how to query internal Synology postgresql database
# Connect to you NAS with YOUR admin account
ssh [email protected]
# go sudo
sudo -i
# switch to user postgres
su - postgres
# start psql CLI
psql
# list user and roles
\du
# Now be careful! May the force be with you
@borazuwarah
Copy link

nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment