Su - postgres authentication failure

Hello,

I’m trying to install Bacula Community Edition on debian bullseye.

I’m following the instructions here

On page 9, in Final Configuration, there is the command:

su - postgres

In one of the earlier commands, a setup message / console application appeared, where I was prompted to enter a password (I had to enter that password twice, so I know what it is).

I assume that is the password that I should be using here, but it doesn’t work :frowning:

Would appreciate advice on how to work out what password I should be using here, or how to reset this password?

Thank you.

hmm…

Try to become root first:

sudo su

Now, you try and use the command:

su - postgres

It should not ask for password.

6 Likes