Skip to content

Instantly share code, notes, and snippets.

View borazuwarah's full-sized avatar

borazuwarah

View GitHub Profile
@borazuwarah
borazuwarah / a-sshAndSwitch.sh
Created January 18, 2023 12:27 — forked from josefglatz/a-sshAndSwitch.sh
Synology cheatsheet: how to query internal Synology postgresql database
# Connect to you NAS with YOUR admin account
ssh yourAdminUserAccount@nas.ip
# go sudo
sudo -i
# switch to user postgres
su - postgres