When opening the psql
console, there is no password prompt. This behaviour is the same for all postgres users. I can basically do everything without a password. This seems rather unsafe.
How do I enable password checking? I'm running macOS Mojave and use Postgres.app with postgresql version 10.
This is the command I use:
psql -Umyuser # this user has a password set