Skip to content

Instantly share code, notes, and snippets.

@lauborges
Created June 13, 2013 23:55
Show Gist options
  • Save lauborges/5778437 to your computer and use it in GitHub Desktop.
Save lauborges/5778437 to your computer and use it in GitHub Desktop.
Postgresql 9.1 set default password on Ubuntu 12.04
sudo -u postgres psql postgres
postgres=# ALTER USER postgres WITH PASSWORD '<newpassword>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment