Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pam_get_data(3) [opendarwin man page]

PAM_GET_DATA(3) 						 Linux-PAM Manual						   PAM_GET_DATA(3)

NAME
pam_get_data - get module internal data SYNOPSIS
#include <security/pam_modules.h> int pam_get_data(const pam_handle_t *pamh, const char *module_data_name, const void **data); DESCRIPTION
This function together with the pam_set_data(3) function is useful to manage module-specific data meaningful only to the calling PAM module. The pam_get_data function looks up the object associated with the (hopefully) unique string module_data_name in the PAM context specified by the pamh argument. A successful call to pam_get_data will result in data pointing to the object. Note, this data is not a copy and should be treated as constant by the module. RETURN VALUES
PAM_SUCCESS Data was successful retrieved. PAM_SYSTEM_ERR A NULL pointer was submitted as PAM handle or the function was called by an application. PAM_NO_MODULE_DATA Module data not found or there is an entry, but it has the value NULL. SEE ALSO
pam_end(3), pam_set_data(3), pam_strerror(3) Linux-PAM Manual 06/04/2011 PAM_GET_DATA(3)

Check Out this Related Man Page

PAM_GET_DATA(3) 						 Linux-PAM Manual						   PAM_GET_DATA(3)

NAME
pam_get_data - get module internal data SYNOPSIS
#include <security/pam_modules.h> int pam_get_data(const pam_handle_t *pamh, const char *module_data_name, const void **data); DESCRIPTION
This function together with the pam_set_data(3) function is useful to manage module-specific data meaningful only to the calling PAM module. The pam_get_data function looks up the object associated with the (hopefully) unique string module_data_name in the PAM context specified by the pamh argument. A successful call to pam_get_data will result in data pointing to the object. Note, this data is not a copy and should be treated as constant by the module. RETURN VALUES
PAM_SUCCESS Data was successful retrieved. PAM_SYSTEM_ERR A NULL pointer was submitted as PAM handle or the function was called by an application. PAM_NO_MODULE_DATA Module data not found or there is an entry, but it has the value NULL. SEE ALSO
pam_end(3), pam_set_data(3), pam_strerror(3) Linux-PAM Manual 06/04/2011 PAM_GET_DATA(3)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: “␀␀Word FinderÂŽ Plus™”. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word FinderÂŽ Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies