path: root/doc/man/pam_get_item.3
diff options
authorThorsten Kukuk <>2006-02-12 22:24:34 +0000
committerThorsten Kukuk <>2006-02-12 22:24:34 +0000
commitf7827ccfd255e23f285eb8aec7ddf71af94dd6ff (patch)
tree171eea4e7e13be3c8e5d2c4748db91b4244782bf /doc/man/pam_get_item.3
parent2c388144eb7c68aa31c20c00f6c054c219bf72a2 (diff)
Relevant BUGIDs:
Purpose of commit: cleanup Commit summary: --------------- Merge manual pages and sgml docu as xml, update them. 2006-02-12 Thorsten Kukuk <> * Add doc/man/Makefile. * Make.xml.rules: Enable xincludes for manual pages. * doc/ (EXRA_DIST): Remove manual pages. (SUBDIR): Add man subdirectory. * doc/man/ New. * doc/man/pam_acct_mgmt.3: New. * doc/man/pam_acct_mgmt.3.xml: New. * doc/man/pam_get_data.3: New. * doc/man/pam_get_data.3.xml: New. * doc/man/pam_set_data.3: New. * doc/man/pam_set_data.3.xml: New. * doc/man/pam.8.xml: New. * doc/man/pam.8: Regenerated from xml file. * doc/man/pam_authenticate.3.xml: New. * doc/man/pam_authenticate.3: Regenerated from xml file. * doc/man/pam_chauthtok.3.xml: New. * doc/man/pam_chauthtok.3: Regenerated from xml file. * doc/man/pam_close_session.3.xml: New. * doc/man/pam_close_session.3: Regenerated from xml file. * doc/man/pam_end.3.xml: New. * doc/man/pam_end.3: Regenerated from xml file. * doc/man/pam_fail_delay.3.xml: New. * doc/man/pam_fail_delay.3: Regenerated from xml file. * doc/man/pam_get_item.3.xml: New. * doc/man/pam_get_item.3: Regenerated from xml file. * doc/man/ New. * doc/man/pam_open_session.3.xml: New. * doc/man/pam_open_session.3: Regenerated from xml file. * doc/man/pam_set_item.3.xml: New. * doc/man/pam_set_item.3: Regenerated from xml file. * doc/man/pam_setcred.3.xml: New. * doc/man/pam_setcred.3: Regenerated from xml file. * doc/man/pam_start.3.xml: New. * doc/man/pam_start.3: Regenerated from xml file. * doc/man/pam_strerror.3.xml: New. * doc/man/pam_strerror.3: Regenerated from xml file. * doc/man/template-man: Removed.
Diffstat (limited to 'doc/man/pam_get_item.3')
1 files changed, 116 insertions, 1 deletions
diff --git a/doc/man/pam_get_item.3 b/doc/man/pam_get_item.3
index 06df97bb..12ce870e 100644
--- a/doc/man/pam_get_item.3
+++ b/doc/man/pam_get_item.3
@@ -1 +1,116 @@ man3/pam_set_item.3
+.\" ** 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_GET_ITEM" "3" "02/12/2006" "Linux\-PAM Manual" "Linux\-PAM Manual"
+.\" disable hyphenation
+.\" disable justification (adjust text to left margin only) l
+pam_get_item \- getting PAM informations
+\fB#include <security/pam_modules.h>\fR
+.HP 17
+\fBint\ \fBpam_get_item\fR\fR\fB(\fR\fBconst\ pam_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
+function allows applications and PAM service modules to access and retrieve PAM informations of
+\fIitem_type\fR. Upon successful return,
+contains a pointer to the value of the corresponding item. Note, this is a pointer to the
+data and should
+\fIfree()\fR'ed or over\-written! The following values are supported for
+The service name (which identifies that PAM stack that the PAM functions will use to authenticate the program).
+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.
+The string used when prompting for a user's name. The default value for this string is a localized version of "login: ".
+The terminal name: prefixed by
+if it is a device file; for graphical, X\-based, applications the value for this item should be the
+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.
+The requesting hostname (the hostname of the machine from which the
+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.
+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.
+The old authentication token. This token should be ignored by all module functions except
+The pam_conv structure. See
+A function pointer to redirect centrally managed failure delays. See
+If a service module wishes to obtain the name of the user, it should not use this function, but instead perform a call to
+Only a service module is privileged to read the authentication tokens, PAM_AUTHTOK and PAM_OLDAUTHTOK.
+The application attempted to set an undefined or inaccessible item.
+Memory buffer error.
+The value of
+was NULL.
+Data was successful updated.
+passed as first argument was invalid.