summaryrefslogtreecommitdiff
path: root/xtests/tst-pam_access3.pamd
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2007-06-25 11:09:32 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2007-06-25 11:09:32 +0000
commitdd80f758c4772b8bebb2fc3335bf3457ab1eb7ca (patch)
tree0fe639587103fc1b4a961bddff260ae508f5d73c /xtests/tst-pam_access3.pamd
parentcc4a814d318d7926bb73dec21c99f46f6ef31d3a (diff)
Relevant BUGIDs:
Purpose of commit: bugfix Commit summary: --------------- 2007-06-25 Thorsten Kukuk <kukuk@thkukuk.de> * modules/pam_access/pam_access.c (list_match): Use saveptr of strtok_r result for recursive calls. * xtests/Makefile.am: Add new pam_access test cases. * xtests/pam_access1.c: New test case. * xtests/pam_access2.c: Likewise. * xtests/pam_access3.c: Likewise. * xtests/pam_access4.c: Likewise. * xtests/pam_access1.sh: Wrapper to create user accounts. * xtests/pam_access2.sh: Likewise. * xtests/pam_access3.sh: Likewise. * xtests/pam_access4.sh: Likewise. * xtests/pam_access1.pamd: PAM config file for pam_access tests. * xtests/pam_access2.pamd: Likewise. * xtests/pam_access3.pamd: Likewise. * xtests/pam_access4.pamd: Likewise. * xtests/access.conf: Config file for pam_access tests. * xtests/run-tests.sh: Install access.conf into system.
Diffstat (limited to 'xtests/tst-pam_access3.pamd')
-rw-r--r--xtests/tst-pam_access3.pamd6
1 files changed, 6 insertions, 0 deletions
diff --git a/xtests/tst-pam_access3.pamd b/xtests/tst-pam_access3.pamd
new file mode 100644
index 00000000..f47ec34f
--- /dev/null
+++ b/xtests/tst-pam_access3.pamd
@@ -0,0 +1,6 @@
+#%PAM-1.0
+auth required pam_access.so nodefgroup
+account required pam_permit.so
+password required pam_permit.so
+session required pam_permit.so
+