path: root/doc/man/pam_set_item.3
diff options
Diffstat (limited to 'doc/man/pam_set_item.3')
1 files changed, 31 insertions, 22 deletions
diff --git a/doc/man/pam_set_item.3 b/doc/man/pam_set_item.3
index c662a3f3..01b2d7c9 100644
--- a/doc/man/pam_set_item.3
+++ b/doc/man/pam_set_item.3
@@ -1,8 +1,11 @@
-.\" ** You probably do not want to edit this file directly **
-.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
-.\" Instead of manually editing it, you probably should edit the DocBook XML
-.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "PAM_SET_ITEM" "3" "05/04/2006" "Linux\-PAM Manual" "Linux\-PAM Manual"
+.\" Title: pam_set_item
+.\" Author:
+.\" Generator: DocBook XSL Stylesheets v1.70.1 <>
+.\" Date: 06/02/2006
+.\" Manual: Linux\-PAM Manual
+.\" Source: Linux\-PAM Manual
+.TH "PAM_SET_ITEM" "3" "06/02/2006" "Linux\-PAM Manual" "Linux\-PAM Manual"
.\" disable hyphenation
.\" disable justification (adjust text to left margin only)
@@ -10,10 +13,14 @@
pam_set_item \- set and update PAM informations
-\fB#include <security/pam_modules.h>\fR
+.ft B
+#include <security/pam_modules.h>
.HP 17
-\fBint\ \fBpam_set_item\fR\fR\fB(\fR\fBpam_handle_t\ *\fR\fB\fIpamh\fR\fR\fB, \fR\fBint\ \fR\fB\fIitem_type\fR\fR\fB, \fR\fBconst\ void\ *\fR\fB\fIitem\fR\fR\fB);\fR
+.BI "int pam_set_item(pam_handle_t\ *" "pamh" ", int\ " "item_type" ", const\ void\ *" "item" ");"
@@ -23,37 +30,38 @@ function allows applications and PAM service modules to access and to update PAM
argument is created. The following
\fIitem_type\fRs are supported:
+.TP 3n
The service name (which identifies that PAM stack that the PAM functions will use to authenticate the program).
+.TP 3n
The username of the entity under whose identity service will be given. That is, following authentication,
identifies the local entity that gets to use the service. Note, this value can be mapped from something (eg., "anonymous") to something else (eg. "guest119") by any module in the PAM stack. As such an application should consult the value of
after each call to a PAM function.
+.TP 3n
The string used when prompting for a user's name. The default value for this string is a localized version of "login: ".
+.TP 3n
The terminal name: prefixed by
if it is a device file; for graphical, X\-based, applications the value for this item should be the
+.TP 3n
The requesting user name: local name for a locally requesting user or a remote user name for a remote requesting user.
Generally an application or module will attempt to supply the value that is most strongly authenticated (a local account before a remote one. The level of trust in this value is embodied in the actual authentication stack associated with the application, so it is ultimately at the discretion of the system administrator.
should always identify the requesting user. In some cases,
may be NULL. In such situations, it is unclear who the requesting entity is.
+.TP 3n
The requesting hostname (the hostname of the machine from which the
@@ -62,21 +70,21 @@ entity is requesting service). That is
does identify the requesting user. In some applications,
may be NULL. In such situations, it is unclear where the authentication request is originating from.
+.TP 3n
The authentication token (often a password). This token should be ignored by all module functions besides
\fBpam_sm_chauthtok\fR(3). In the former function it is used to pass the most recent authentication token from one stacked module to another. In the latter function the token is used for another purpose. It contains the currently active authentication token.
+.TP 3n
The old authentication token. This token should be ignored by all module functions except
+.TP 3n
The pam_conv structure. See
+.TP 3n
A function pointer to redirect centrally managed failure delays. See
@@ -95,21 +103,22 @@ is a function pointer:
Both, PAM_AUTHTOK and PAM_OLDAUTHTOK, will be reseted before returning to the application. Which means an application is not able to access the authentication tokens.
+.TP 3n
The application attempted to set an undefined or inaccessible item.
+.TP 3n
Memory buffer error.
+.TP 3n
Data was successful updated.
+.TP 3n
passed as first argument was invalid.