S
S
Serufim2018-02-20 10:09:06
PostgreSQL
Serufim, 2018-02-20 10:09:06

How to set password in postgres sql?

I do everything according to the guide when changing the user sudo su - sergey asks for a password for the postgres user. So, I went to the psql console and changed the password for the postgres user
ALTER USER postgres PASSWORD 'password'; but when changing sudo su - sergey again asks for a password and I enter it, and he says it's wrong. what should I do so that I can switch to user sergey???

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question