Last active
August 29, 2015 14:06
-
-
Save parasquid/7aaa1c365f1f11b001b6 to your computer and use it in GitHub Desktop.
trust local postgres connections
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i 's/local all postgres peer/local all all peer/' /etc/postgresql/9.3/main/pg_hba.conf | |
sed -i 's/host all all 127.0.0.1\/32 md5/host all all 127.0.0.1\/32 trust/' /etc/postgresql/9.3/main/pg_hba.conf | |
/etc/init.d/postgresql restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment