Hello Frank!

To update this, 

1. Yes I have diligently followed the documentation

2. Yes user "bareos" has been added as a local user on my machine. 

3. I have done this suggestion, I also researched more on implementing pam. 
pam_unix.so needs to read /etc/shadow that is why root privilege is needed for 
the program.

4. Thanks for this tip


This could be marked as solved.

To give other readers the flow on how this was solved:

After reading the documentation, please also modify the directors.ini file 
under /etc/bareos-webui, make sure to compliment the credentials given to the 
pam-console.conf

Next, bear in mind that pam_unix.so module needs to read /etc/shadow inorder to 
work. You will need to give bareos user root privileges. What I did was to add 
bareos to the root group.

Next, examining /etc/shadow on Centos 7.6, it has file permission of ---------- 
meaning only root user can access it. Here I gave it a file permission of 440, 
which also includes the root group.

After this, pam module now works

NOTE: please use a different user other than "bareos" for pam-user as this is 
already being used by bareos program.

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" 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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to