Skip to content

Instantly share code, notes, and snippets.

@hooopo
Created March 6, 2019 10:54
Show Gist options
  • Save hooopo/a3ece7fa044d4bfda067b35a19b4d712 to your computer and use it in GitHub Desktop.
Save hooopo/a3ece7fa044d4bfda067b35a19b4d712 to your computer and use it in GitHub Desktop.
psql -Atq -U postgres -d postgres -c "SELECT concat('\"', usename, '\" \"', passwd, '\"') FROM pg_shadow"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment