Skip to content

Instantly share code, notes, and snippets.

@rupakraj
Created September 3, 2015 08:24
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 rupakraj/d8ba4d09695f56928a0b to your computer and use it in GitHub Desktop.
Save rupakraj/d8ba4d09695f56928a0b to your computer and use it in GitHub Desktop.
To change the default password of the the PostGreSQL
To change the default password of the the PostGreSQL Postgres user from command line tool :psql
User: postgres
Tool: Psql
Enter on the command line:
$ sudo -u postgres psql postgres
$\# \password postgres
You'll see:
$\# Enter new password: <Give ur password here and Confirm them>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment