Silvan Calarco writes:
> psql database_name -U postgres
>
> I'm not asked for a password and every user can access the database with
> postgres privileges.
psql only asks for a password if the server requires password
authentication. Look into pg_hba.conf how to set that up. (Might be in
/var/lib/pgsql/... on your system.)
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/