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 | |
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')
-rw-r--r-- | doc/man/pam_start.3 | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/doc/man/pam_start.3 b/doc/man/pam_start.3 index 2a9d24bd..b6039135 100644 --- a/doc/man/pam_start.3 +++ b/doc/man/pam_start.3 @@ -1,13 +1,13 @@ '\" t .\" Title: pam_start .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] -.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> -.\" Date: 05/18/2017 +.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> +.\" Date: 06/08/2020 .\" Manual: Linux-PAM Manual .\" Source: Linux-PAM Manual .\" Language: English .\" -.TH "PAM_START" "3" "05/18/2017" "Linux-PAM Manual" "Linux-PAM Manual" +.TH "PAM_START" "3" "06/08/2020" "Linux-PAM Manual" "Linux-PAM Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -28,7 +28,7 @@ .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" -pam_start \- initialization of PAM transaction +pam_start, pam_start_confdir \- initialization of PAM transaction .SH "SYNOPSIS" .sp .ft B @@ -38,6 +38,8 @@ pam_start \- initialization of PAM transaction .ft .HP \w'int\ pam_start('u .BI "int pam_start(const\ char\ *" "service_name" ", const\ char\ *" "user" ", const\ struct\ pam_conv\ *" "pam_conversation" ", pam_handle_t\ **" "pamh" ");" +.HP \w'int\ pam_start_confdir('u +.BI "int pam_start_confdir(const\ char\ *" "service_name" ", const\ char\ *" "user" ", const\ struct\ pam_conv\ *" "pam_conversation" ", const\ char\ *" "confdir" ", pam_handle_t\ **" "pamh" ");" .SH "DESCRIPTION" .PP The @@ -72,9 +74,20 @@ The is a blind structure and the application should not attempt to probe it directly for information\&. Instead the PAM library provides the functions \fBpam_set_item\fR(3) and -\fBpam_get_item\fR(3)\&. The PAM handle cannot be used for mulitiple authentications at the same time as long as +\fBpam_get_item\fR(3)\&. The PAM handle cannot be used for multiple authentications at the same time as long as \fBpam_end\fR was not called on it before\&. +.PP +The +\fBpam_start_confdir\fR +function behaves like the +\fBpam_start\fR +function but it also allows setting +\fIconfdir\fR +argument with a path to a directory to override the default (/etc/pam\&.d) path for service policy files\&. If the +\fIconfdir\fR +is NULL, the function works exactly the same as +\fBpam_start\fR\&. .SH "RETURN VALUES" .PP PAM_ABORT @@ -89,7 +102,7 @@ Memory buffer error\&. .PP PAM_SUCCESS .RS 4 -Transaction was successful created\&. +Transaction was successfully started\&. .RE .PP PAM_SYSTEM_ERR |