From 637d71df931a2627493618b5f73eab88d18132b8 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 5 Feb 2018 14:33:50 +0000 Subject: Document what modules won't work --- doc/building.html | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/doc/building.html b/doc/building.html index 649dc43..fdd0cd8 100644 --- a/doc/building.html +++ b/doc/building.html @@ -99,5 +99,32 @@ The pamelad binary will then drop its privileges and run under this uid/gid. +

My application is not working with pam_foobar.so!

+ +

+ A pamela-type architecture can only work if modules do not try +to do anything fancy outside of the official PAM communication +channels. In particular, if it sets global state, +it will not work. PAM modules that +

+ + + +

+ will not, and cannot, be supported by pamela. The only +solution is to rewrite these modules so they communicate the +change they wish to make via the official PAM API, and have the +application perform the change itself. PAM provides a way to +do this: the conversation function, which exchanges data +between PAM and the application. pamela fully supports custom +conversation functions. +

+ -- cgit v1.2.3