Listing users in postgres

Hello,

I have Bacula Community Edition installed and I have successfully performed a test backup using bconsole. So, at a very basic level, I have a working configuration.

However, bconsole is not the most user-friendly program that I have ever used, and I’m wanting to try an alternative Bacula client to manage Bacula: Webmin.

I’ve installed Webmin, but when I try to configure webmin to connect to the bacula installation it says “failed to login to the database”.

FATAL: Peer authentication failed for user “bacula”

I’m pretty sure this is the correct user, and I know the password that I supplied for this user during the installation.

However, as webmin is unable to connect, I’d like to check the user details in postgresql, in case I have made a mistake.

I am trying to follow the instructions here

But when I enter the first command

psql -U postgres
psql: error: FATAL:  Peer authentication failed for user "postgres"

Would appreciate troubleshooting suggestions

Thanks

VW