Sometimes we can forget main password for PostgreSQL. We should edit config file: vim /etc/postgresql/<version>/main/pg_hba.conf local all postgres peer Restart…
echo -e “new_passwordnnew_password” | (smbpasswd -a -s $USER)
Sometimes we can forget main password for PostgreSQL. We should edit config file: vim /etc/postgresql/<version>/main/pg_hba.conf local all postgres peer Restart…
echo -e “new_passwordnnew_password” | (smbpasswd -a -s $USER)