contrib icon indicating copy to clipboard operation
contrib copied to clipboard

Problem With Jansonn Module integration

Open Leeladitya opened this issue 4 years ago • 1 comments

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

Leeladitya avatar May 07 '20 17:05 Leeladitya

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

patrick-east avatar May 08 '20 16:05 patrick-east

Closing due to inactivity. Let me know if there's anything actionable left here, and I'll re-open.

anderseknert avatar Sep 22 '22 08:09 anderseknert