summaryrefslogtreecommitdiff
path: root/modules/pam_debug
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_debug')
-rw-r--r--modules/pam_debug/.cvsignore2
-rw-r--r--modules/pam_debug/README64
-rw-r--r--modules/pam_debug/pam_debug.8110
3 files changed, 2 insertions, 174 deletions
diff --git a/modules/pam_debug/.cvsignore b/modules/pam_debug/.cvsignore
index 9fb98574..af38ef08 100644
--- a/modules/pam_debug/.cvsignore
+++ b/modules/pam_debug/.cvsignore
@@ -4,3 +4,5 @@
.libs
Makefile
Makefile.in
+README
+pam_debug.8
diff --git a/modules/pam_debug/README b/modules/pam_debug/README
deleted file mode 100644
index 4afff114..00000000
--- a/modules/pam_debug/README
+++ /dev/null
@@ -1,64 +0,0 @@
-pam_debug — PAM module to debug the PAM stack
-
-━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-
-DESCRIPTION
-
-The pam_debug PAM module is intended as a debugging aide for determining how
-the PAM stack is operating. This module returns what its module arguments tell
-it to return.
-
-OPTIONS
-
-auth=value
-
- The pam_sm_authenticate(3) function will return value.
-
-cred=value
-
- The pam_sm_setcred(3) function will return value.
-
-acct=value
-
- The pam_sm_acct_mgmt(3) function will return value.
-
-prechauthtok=value
-
- The pam_sm_chauthtok(3) function will return value if the PAM_PRELIM_CHECK
- flag is set.
-
-chauthtok=value
-
- The pam_sm_chauthtok(3) function will return value if the PAM_PRELIM_CHECK
- flag is not set.
-
-open_session=value
-
- The pam_sm_open_session(3) function will return value.
-
-close_session=value
-
- The pam_sm_close_session(3) function will return value.
-
-Where value can be one of: success, open_err, symbol_err, service_err,
-system_err, buf_err, perm_denied, auth_err, cred_insufficient,
-authinfo_unavail, user_unknown, maxtries, new_authtok_reqd, acct_expired,
-session_err, cred_unavail, cred_expired, cred_err, no_module_data, conv_err,
-authtok_err, authtok_recover_err, authtok_lock_busy, authtok_disable_aging,
-try_again, ignore, abort, authtok_expired, module_unknown, bad_item,
-conv_again, incomplete.
-
-EXAMPLES
-
-auth requisite pam_permit.so
-auth [success=2 default=ok] pam_debug.so auth=perm_denied cred=success
-auth [default=reset] pam_debug.so auth=success cred=perm_denied
-auth [success=done default=die] pam_debug.so
-auth optional pam_debug.so auth=perm_denied cred=perm_denied
-auth sufficient pam_debug.so auth=success cred=success
-
-
-AUTHOR
-
-pam_debug was written by Andrew G. Morgan <morgan@kernel.org>.
-
diff --git a/modules/pam_debug/pam_debug.8 b/modules/pam_debug/pam_debug.8
deleted file mode 100644
index ae4a1407..00000000
--- a/modules/pam_debug/pam_debug.8
+++ /dev/null
@@ -1,110 +0,0 @@
-.\" Title: pam_debug
-.\" Author:
-.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
-.\" Date: 06/23/2006
-.\" Manual: Linux\-PAM Manual
-.\" Source: Linux\-PAM Manual
-.\"
-.TH "PAM_DEBUG" "8" "06/23/2006" "Linux\-PAM Manual" "Linux\-PAM Manual"
-.\" disable hyphenation
-.nh
-.\" disable justification (adjust text to left margin only)
-.ad l
-.SH "NAME"
-pam_debug \- PAM module to debug the PAM stack
-.SH "SYNOPSIS"
-.HP 13
-\fBpam_debug.so\fR [auth=\fIvalue\fR] [cred=\fIvalue\fR] [acct=\fIvalue\fR] [prechauthtok=\fIvalue\fR] [chauthtok=\fIvalue\fR] [auth=\fIvalue\fR] [open_session=\fIvalue\fR] [close_session=\fIvalue\fR]
-.SH "DESCRIPTION"
-.PP
-The pam_debug PAM module is intended as a debugging aide for determining how the PAM stack is operating. This module returns what its module arguments tell it to return.
-.SH "OPTIONS"
-.TP 3n
-\fBauth=\fR\fB\fIvalue\fR\fR
-The
-\fBpam_sm_authenticate\fR(3)
-function will return
-\fIvalue\fR.
-.TP 3n
-\fBcred=\fR\fB\fIvalue\fR\fR
-The
-\fBpam_sm_setcred\fR(3)
-function will return
-\fIvalue\fR.
-.TP 3n
-\fBacct=\fR\fB\fIvalue\fR\fR
-The
-\fBpam_sm_acct_mgmt\fR(3)
-function will return
-\fIvalue\fR.
-.TP 3n
-\fBprechauthtok=\fR\fB\fIvalue\fR\fR
-The
-\fBpam_sm_chauthtok\fR(3)
-function will return
-\fIvalue\fR
-if the
-\fIPAM_PRELIM_CHECK\fR
-flag is set.
-.TP 3n
-\fBchauthtok=\fR\fB\fIvalue\fR\fR
-The
-\fBpam_sm_chauthtok\fR(3)
-function will return
-\fIvalue\fR
-if the
-\fIPAM_PRELIM_CHECK\fR
-flag is
-\fBnot\fR
-set.
-.TP 3n
-\fBopen_session=\fR\fB\fIvalue\fR\fR
-The
-\fBpam_sm_open_session\fR(3)
-function will return
-\fIvalue\fR.
-.TP 3n
-\fBclose_session=\fR\fB\fIvalue\fR\fR
-The
-\fBpam_sm_close_session\fR(3)
-function will return
-\fIvalue\fR.
-.PP
-Where
-\fIvalue\fR
-can be one of: success, open_err, symbol_err, service_err, system_err, buf_err, perm_denied, auth_err, cred_insufficient, authinfo_unavail, user_unknown, maxtries, new_authtok_reqd, acct_expired, session_err, cred_unavail, cred_expired, cred_err, no_module_data, conv_err, authtok_err, authtok_recover_err, authtok_lock_busy, authtok_disable_aging, try_again, ignore, abort, authtok_expired, module_unknown, bad_item, conv_again, incomplete.
-.SH "MODULE SERVICES PROVIDED"
-.PP
-The services
-\fBauth\fR,
-\fBaccount\fR,
-\fBpassword\fR
-and
-\fBsession\fR
-are supported.
-.SH "RETURN VALUES"
-.TP 3n
-PAM_SUCCESS
-Default return code if no other value was specified, else specified return value.
-.SH "EXAMPLES"
-.sp
-.RS 3n
-.nf
-auth requisite pam_permit.so
-auth [success=2 default=ok] pam_debug.so auth=perm_denied cred=success
-auth [default=reset] pam_debug.so auth=success cred=perm_denied
-auth [success=done default=die] pam_debug.so
-auth optional pam_debug.so auth=perm_denied cred=perm_denied
-auth sufficient pam_debug.so auth=success cred=success
-
-.fi
-.RE
-.SH "SEE ALSO"
-.PP
-
-\fBpam.conf\fR(5),
-\fBpam.d\fR(8),
-\fBpam\fR(8)
-.SH "AUTHOR"
-.PP
-pam_debug was written by Andrew G. Morgan <morgan@kernel.org>.