Skip to content

Instantly share code, notes, and snippets.

@essoen
Last active August 18, 2016 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save essoen/1613e8139c9e314b8a1af27fc163c1f9 to your computer and use it in GitHub Desktop.
Save essoen/1613e8139c9e314b8a1af27fc163c1f9 to your computer and use it in GitHub Desktop.
How to reset a postgres password on ubuntu
  1. sudo -u postgres psql
  2. \password and set password
  3. \q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment