title: How to integrate PAM and OPA together to get security control over SSH in linux
body: <p>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.</p>
  <p>Please find below link:</p>
  <pre><code>https://www.openpolicyagent.org/docs/v0.12.2/ssh-and-sudo-authorization/
  </code></pre>
  <p>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.</p>
  <p>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!</p>