Changeset 145 in openpam for trunk/lib


Ignore:
Timestamp:
May 9, 2002, 7:52:55 PM (18 years ago)
Author:
Dag-Erling Smørgrav
Message:

Add documentation.

Sponsored by: DARPA, NAI Labs

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/openpam_nullconv.c

    r129 r145  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/openpam_nullconv.c#1 $
     34 * $P4: //depot/projects/openpam/lib/openpam_nullconv.c#2 $
    3535 */
    3636
     
    6767 *      PAM_CONV_ERR
    6868 */
     69
     70/**
     71 * The =openpam_nullconv function is a null conversation function suitable
     72 * for applications that want to use PAM but don't support interactive
     73 * dialog with the user.  Such applications should set =PAM_AUTHTOK to
     74 * whatever authentication token they've obtained on their own before
     75 * calling =pam_authenticate and / or =pam_chauthtok, and their PAM
     76 * configuration should specify the ;use_first_pass option for all modules
     77 * that require access to the authentication token, to make sure they use
     78 * =PAM_AUTHTOK rather than try to query the user.
     79 *
     80 * >openpam_ttyconv
     81 * >pam_prompt
     82 * >pam_set_item
     83 * >pam_vprompt
     84 */
  • trunk/lib/openpam_ttyconv.c

    r124 r145  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/openpam_ttyconv.c#10 $
     34 * $P4: //depot/projects/openpam/lib/openpam_ttyconv.c#11 $
    3535 */
    3636
     
    193193 *      PAM_CONV_ERR
    194194 */
     195
     196/**
     197 * The =openpam_ttyconv function is a standard conversation function
     198 * suitable for use on TTY devices.  It should be adequate for the needs
     199 * of most text-based interactive programs.
     200 *
     201 * The =openpam_ttyconv function allows the application to specify a
     202 * timeout for user input by setting the global variable
     203 * :openpam_ttyconv_timeout to the length of the timeout in seconds.
     204 *
     205 * >openpam_nullconv
     206 * >pam_prompt
     207 * >pam_vprompt
     208 */
Note: See TracChangeset for help on using the changeset viewer.