summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2018-08-16 12:27:05 +0000
committerIan C <ianc@noddybox.co.uk>2018-08-16 12:27:05 +0000
commit5b5378e907928e85ab783088038c993a275bb1bf (patch)
tree669a480a54031e348450a8b80c1441ce0c6ce886 /README
parent9376ab9c857742c54b1864979e3a2323d9a0bdc3 (diff)
Initial working version.
Diffstat (limited to 'README')
-rw-r--r--README8
1 files changed, 8 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..eb59a42
--- /dev/null
+++ b/README
@@ -0,0 +1,8 @@
+Simple PAM module to check the username's existance (or lack of) in a file.
+
+To use simply call from a PAM file passing the file to check (file=) and the
+mode (mode=). If mode is block then a user is authenticated if they don't
+exist in the file. Any other mode means the user is authenticated if they do
+appear in the file, e.g.
+
+auth required pam_file.so file=/etc/email.allow mode=allow