summaryrefslogtreecommitdiff
path: root/test-services
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <[email protected]>2023-09-19 18:21:03 +0200
committerMarco Trevisan (Treviño) <[email protected]>2023-09-19 18:46:25 +0200
commit1cab6e699cc2486f7e1879b41a10b7b76806206b (patch)
treef4bf41965f81a140cb3eb11411aed895ff72c748 /test-services
parentca3e79e6055a0ac8e68903036973493007e497fa (diff)
transaction_test: Add more authentication tests to run as user
So that it's possible also to verify an info text conversation
Diffstat (limited to 'test-services')
-rw-r--r--test-services/deny-service2
-rw-r--r--test-services/echo-service3
2 files changed, 5 insertions, 0 deletions
diff --git a/test-services/deny-service b/test-services/deny-service
new file mode 100644
index 0000000..c73363a
--- /dev/null
+++ b/test-services/deny-service
@@ -0,0 +1,2 @@
+# Custom stack to deny permit, independent of the user name/pass
+auth requisite pam_deny.so
diff --git a/test-services/echo-service b/test-services/echo-service
new file mode 100644
index 0000000..1734a00
--- /dev/null
+++ b/test-services/echo-service
@@ -0,0 +1,3 @@
+# Custom stack to always permit, independent of the user name/pass
+auth optional pam_echo.so This is an info message for user %u on %s
+auth required pam_permit.so