Recently I was going through a RBAC tool Open Policy Agent(OPA). There is link on OPA website to leverage security control for SSH and Sudo using OPA. To make it work we have to use it with linux PAM module.
Please find below link:
https://www.openpolicyagent.org/docs/v0.12.2/ssh-and-sudo-authorization/
Here they have provided example using docker image. Where PAM and OPA integration part is not clear. and my requirement is there to leverage OPA feature using PAM in Linux system without docker image.
I googled it but didn't get any useful article. So, It will be very helpful if anyone can provide or point me in right direction with some example or reference link. Thanks in advance!
You can download and run OPA as a self-contained executable without Docker being involved. See the downloads page from the official OPA pages.
You may then run OPA on your system the same way as instructed in the docs:
opa run --server --set=decision_logs.console=true
The OPA server will run on localhost:8181 by default - consult
opa run --help
for further options.