aws ec2 error: Ident authentication failed for user "admin" postgresql code example
Example: psql: FATAL: Ident authentication failed for user "postgres"
$ sudo -u postgres psql
\password
Enter password: ...
...
$ sudo -u postgres psql
\password
Enter password: ...
...