How to change the default postgres password (Ubuntu)
In the terminal, type the following
sudo su postgres
psql
\password
It should prompt to enter your new credentials.
And that’s it. You’re done.
To exit from the psql shell.
\q
Feeding Your Inner Developer
In the terminal, type the following
sudo su postgres
psql
\password
It should prompt to enter your new credentials.
And that’s it. You’re done.
To exit from the psql shell.
\q
Recent Comments