From 7a84910896d5579bd9c016696224d7d69a307bd9 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Mon, 24 Feb 2020 18:19:57 +0100 Subject: New API call pam_start_confdir() To load PAM stack configurations from specified directory --- doc/man/pam_start.3.xml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/man/pam_start.3.xml b/doc/man/pam_start.3.xml index 50a65a47..1d544e64 100644 --- a/doc/man/pam_start.3.xml +++ b/doc/man/pam_start.3.xml @@ -12,6 +12,7 @@ pam_start + pam_start_confdir initialization of PAM transaction @@ -27,6 +28,14 @@ const struct pam_conv *pam_conversation pam_handle_t **pamh + + int pam_start_confdir + const char *service_name + const char *user + const struct pam_conv *pam_conversation + const char *confdir + pam_handle_t **pamh + @@ -87,6 +96,17 @@ same time as long as pam_end was not called on it before. + + + The pam_start_confdir function behaves + like the pam_start function but it also + allows setting confdir argument with + a path to a directory to override the default + (/etc/pam.d) path for service policy + files. If the confdir is NULL, the function + works exactly the same as pam_start. + + RETURN VALUES @@ -111,7 +131,7 @@ PAM_SUCCESS - Transaction was successful created. + Transaction was successfully started. -- cgit v1.2.3