Skip to content

Instantly share code, notes, and snippets.

@coderforhire
Created October 8, 2012 23:46
Show Gist options
  • Save coderforhire/3855666 to your computer and use it in GitHub Desktop.
Save coderforhire/3855666 to your computer and use it in GitHub Desktop.
`ssh root@#{server} \"su postgres -c \"psql -d postgres -c \$\'alter user postgres with encrypted password \'#{test}\'\'\" \" ``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment