summaryrefslogtreecommitdiff
path: root/modules/pam_debug/README
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2001-10-10 05:00:11 +0000
committerAndrew G. Morgan <morgan@kernel.org>2001-10-10 05:00:11 +0000
commit6180f388df5004d5435cd6912445130cf260f94e (patch)
tree5a94a7b9640ad989a42d1fabeed6dc3f75c073f9 /modules/pam_debug/README
parentba9bf5016669e0b940243c51c62236968119313a (diff)
Relevant BUGIDs: 424315
Purpose of commit: cleanup, new feature Commit summary: --------------- I'm adding a new module (pam_debug) that helped me to verify that the new setcred handling did not suffer from a bug in the handling of 'auth optional'. I'm also fixing a D(()) line from libpam/pam_dispatch.c which was simply broken. [There is still an outstanding backward compatibility issue with pam_dispatch that I'll address with respect to Bug 468724.]
Diffstat (limited to 'modules/pam_debug/README')
-rw-r--r--modules/pam_debug/README15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/pam_debug/README b/modules/pam_debug/README
new file mode 100644
index 00000000..b537e3a7
--- /dev/null
+++ b/modules/pam_debug/README
@@ -0,0 +1,15 @@
+# $Id$
+#
+
+This module returns what its module arguments tell it to return. It
+can be used for debugging libpam and/or an application.
+
+Here are some example ways to use it:
+
+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
+