Question: psql how to pass password?
Answer: Run the psql command from the postgres user account: sudo -u postgres psql postgres.
Set the password: \password postgres.
Enter a password.
Close psql. \q.