Home | History | Annotate | Line # | Download | only in man
pam_chauthtok.3 revision 1.5
      1  1.5  christos <<<<<<< pam_chauthtok.3
      2  1.4  christos .\"	$NetBSD: pam_chauthtok.3,v 1.5 2014/10/24 18:17:56 christos Exp $
      3  1.1  christos .\"
      4  1.5  christos =======
      5  1.5  christos >>>>>>> 1.1.1.4
      6  1.4  christos .\" Generated from pam_chauthtok.c by gendoc.pl
      7  1.4  christos .\" Id: pam_chauthtok.c 648 2013-03-05 17:54:27Z des 
      8  1.5  christos .Dd September 12, 2014
      9  1.1  christos .Dt PAM_CHAUTHTOK 3
     10  1.1  christos .Os
     11  1.1  christos .Sh NAME
     12  1.1  christos .Nm pam_chauthtok
     13  1.1  christos .Nd perform password related functions within the PAM framework
     14  1.1  christos .Sh LIBRARY
     15  1.1  christos .Lb libpam
     16  1.1  christos .Sh SYNOPSIS
     17  1.1  christos .In sys/types.h
     18  1.1  christos .In security/pam_appl.h
     19  1.1  christos .Ft "int"
     20  1.1  christos .Fn pam_chauthtok "pam_handle_t *pamh" "int flags"
     21  1.1  christos .Sh DESCRIPTION
     22  1.1  christos The
     23  1.3  christos .Fn pam_chauthtok
     24  1.1  christos function attempts to change the authentication token
     25  1.1  christos for the user associated with the pam context specified by the
     26  1.1  christos .Fa pamh
     27  1.1  christos argument.
     28  1.1  christos .Pp
     29  1.1  christos The
     30  1.1  christos .Fa flags
     31  1.1  christos argument is the binary or of zero or more of the following
     32  1.1  christos values:
     33  1.1  christos .Bl -tag -width 18n
     34  1.1  christos .It Dv PAM_SILENT
     35  1.1  christos Do not emit any messages.
     36  1.1  christos .It Dv PAM_CHANGE_EXPIRED_AUTHTOK
     37  1.1  christos Change only those authentication tokens that have expired.
     38  1.1  christos .El
     39  1.1  christos .Pp
     40  1.1  christos If any other bits are set,
     41  1.3  christos .Fn pam_chauthtok
     42  1.1  christos will return
     43  1.1  christos .Dv PAM_SYMBOL_ERR .
     44  1.1  christos .Sh RETURN VALUES
     45  1.1  christos The
     46  1.3  christos .Fn pam_chauthtok
     47  1.1  christos function returns one of the following values:
     48  1.1  christos .Bl -tag -width 18n
     49  1.1  christos .It Bq Er PAM_ABORT
     50  1.1  christos General failure.
     51  1.1  christos .It Bq Er PAM_AUTHTOK_DISABLE_AGING
     52  1.1  christos Authentication token aging disabled.
     53  1.1  christos .It Bq Er PAM_AUTHTOK_ERR
     54  1.1  christos Authentication token failure.
     55  1.1  christos .It Bq Er PAM_AUTHTOK_LOCK_BUSY
     56  1.1  christos Authentication token lock busy.
     57  1.1  christos .It Bq Er PAM_AUTHTOK_RECOVERY_ERR
     58  1.1  christos Failed to recover old authentication token.
     59  1.1  christos .It Bq Er PAM_BUF_ERR
     60  1.1  christos Memory buffer error.
     61  1.1  christos .It Bq Er PAM_CONV_ERR
     62  1.1  christos Conversation failure.
     63  1.1  christos .It Bq Er PAM_PERM_DENIED
     64  1.1  christos Permission denied.
     65  1.1  christos .It Bq Er PAM_SERVICE_ERR
     66  1.1  christos Error in service module.
     67  1.1  christos .It Bq Er PAM_SYMBOL_ERR
     68  1.1  christos Invalid symbol.
     69  1.1  christos .It Bq Er PAM_SYSTEM_ERR
     70  1.1  christos System error.
     71  1.1  christos .It Bq Er PAM_TRY_AGAIN
     72  1.1  christos Try again.
     73  1.1  christos .El
     74  1.1  christos .Sh SEE ALSO
     75  1.1  christos .Xr pam 3 ,
     76  1.1  christos .Xr pam_strerror 3
     77  1.1  christos .Sh STANDARDS
     78  1.1  christos .Rs
     79  1.1  christos .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
     80  1.1  christos .%D "June 1997"
     81  1.1  christos .Re
     82  1.1  christos .Sh AUTHORS
     83  1.1  christos The
     84  1.3  christos .Fn pam_chauthtok
     85  1.3  christos function and this manual page were
     86  1.3  christos developed for the
     87  1.1  christos .Fx
     88  1.3  christos Project by ThinkSec AS and Network Associates Laboratories, the
     89  1.1  christos Security Research Division of Network Associates, Inc.\& under
     90  1.1  christos DARPA/SPAWAR contract N66001-01-C-8035
     91  1.1  christos .Pq Dq CBOSS ,
     92  1.1  christos as part of the DARPA CHATS research program.
     93  1.4  christos .Pp
     94  1.4  christos The OpenPAM library is maintained by
     95  1.4  christos .An Dag-Erling Sm\(/orgrav Aq des (a] des.no .
     96