contrib
contrib copied to clipboard
Problem With Jansonn Module integration
Hello, I am new to OPA, I am trying to integrate OPA with linux PAM, for sudo and ssh authorization, but the tutorial covers only for docker version, but i am trying to install on standalone server. I have followed the instructions from https://github.com/open-policy-agent/contrib/blob/master/pam_opa/pam/README.md, but there is problem with the jansson library module (i can't find the module to copy it to PAM module) and its very difficult to follow, can anyone help me with installing the OPA-PAM for standalone, UBUNTU server. Thanks
You can likely follow similar instructions to configure your system and build the library as what the docker image uses:
https://github.com/open-policy-agent/contrib/blob/master/pam_opa/docker/pam-builder.dockerfile
Specific to the jansson library see: https://github.com/open-policy-agent/contrib/blob/fd52a84cd1e6e9830a1c6e7255dd8fa5a73aa711/pam_opa/docker/pam-builder.dockerfile#L10-L23
Closing due to inactivity. Let me know if there's anything actionable left here, and I'll re-open.