Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable md5 on Postgresql for RHEL #20

Open
espenfl opened this issue Jan 24, 2020 · 1 comment
Open

Enable md5 on Postgresql for RHEL #20

espenfl opened this issue Jan 24, 2020 · 1 comment

Comments

@espenfl
Copy link
Collaborator

espenfl commented Jan 24, 2020

Right now we use trust policy for Postgresql on RHEL. Change this to md5.

@ltalirz
Copy link
Member

ltalirz commented Dec 18, 2022

One step in this direction can be to only allow passwordless connection for the postgres user, and only via unix domain socket.

I.e.

  • change all trust to md5
  • add line local all postgres trust

This means psql -U postgres will still work for any user; pgsu should be able to detect this (? to check)

P.S. Just to be clear: the current settings allow passwordless access to any database user, but only from the host VM.
Access to the postgres server from other hosts is disallowed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants