Yes and no.
If I'm logged into Linux as user 'dspace' (which is also the name of the
postgres user and database) then
'psql -U dspace' drops me in without a password. If I force a password with
'psql -U dspace -W' I can get
in just fine even with an incorrect password! But if I try from another
Linux login the connection fails with:
psql: FATAL: Peer authentication failed for user "dspace"
.The tail end of the pg_hba.conf file looks about like this:
# TYPE DATABASE USER ADDRESS METHOD
# Tighten security per instructions in DSpace Manual
host dspace dspace 127.0.0.1 255.255.255.255 md5
#host dspace dspace 127.0.0.1 255.255.255.255 peer
# "local" is for Unix domain socket connections only
local all all peer
#local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 ident
# IPv6 local connections:
host all all ::1/128 ident
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.