diff options
author | Steve Langasek <steve.langasek@canonical.com> | 2020-08-11 14:54:29 -0700 |
---|---|---|
committer | Steve Langasek <steve.langasek@canonical.com> | 2020-08-11 14:54:29 -0700 |
commit | f6d08ed47a3da3c08345bce2ca366e961c52ad7c (patch) | |
tree | dcbd0efb229b17f696f7195671f05b354b4f70fc /doc/man/pam_start.3.xml | |
parent | 668b13da8f830c38388cecac45539972e80cb246 (diff) | |
parent | 9e5bea9e146dee574796259ca464ad2435be3590 (diff) | |
download | pam-f6d08ed47a3da3c08345bce2ca366e961c52ad7c.tar.gz pam-f6d08ed47a3da3c08345bce2ca366e961c52ad7c.tar.bz2 pam-f6d08ed47a3da3c08345bce2ca366e961c52ad7c.zip |
New upstream version 1.4.0
Diffstat (limited to 'doc/man/pam_start.3.xml')
-rw-r--r-- | doc/man/pam_start.3.xml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/doc/man/pam_start.3.xml b/doc/man/pam_start.3.xml index 9b370f52..1d544e64 100644 --- a/doc/man/pam_start.3.xml +++ b/doc/man/pam_start.3.xml @@ -12,6 +12,7 @@ <refnamediv id="pam_start-name"> <refname>pam_start</refname> + <refname>pam_start_confdir</refname> <refpurpose>initialization of PAM transaction</refpurpose> </refnamediv> @@ -27,6 +28,14 @@ <paramdef>const struct pam_conv *<parameter>pam_conversation</parameter></paramdef> <paramdef>pam_handle_t **<parameter>pamh</parameter></paramdef> </funcprototype> + <funcprototype> + <funcdef>int <function>pam_start_confdir</function></funcdef> + <paramdef>const char *<parameter>service_name</parameter></paramdef> + <paramdef>const char *<parameter>user</parameter></paramdef> + <paramdef>const struct pam_conv *<parameter>pam_conversation</parameter></paramdef> + <paramdef>const char *<parameter>confdir</parameter></paramdef> + <paramdef>pam_handle_t **<parameter>pamh</parameter></paramdef> + </funcprototype> </funcsynopsis> </refsynopsisdiv> @@ -83,10 +92,21 @@ <citerefentry> <refentrytitle>pam_get_item</refentrytitle><manvolnum>3</manvolnum> </citerefentry>. - The PAM handle cannot be used for mulitiple authentications at the + The PAM handle cannot be used for multiple authentications at the same time as long as <function>pam_end</function> was not called on it before. </para> + + <para> + The <function>pam_start_confdir</function> function behaves + like the <function>pam_start</function> function but it also + allows setting <emphasis>confdir</emphasis> argument with + a path to a directory to override the default + (<filename>/etc/pam.d</filename>) path for service policy + files. If the <emphasis>confdir</emphasis> is NULL, the function + works exactly the same as <function>pam_start</function>. + </para> + </refsect1> <refsect1 id="pam_start-return_values"> <title>RETURN VALUES</title> @@ -111,7 +131,7 @@ <term>PAM_SUCCESS</term> <listitem> <para> - Transaction was successful created. + Transaction was successfully started. </para> </listitem> </varlistentry> |