From 1cab6e699cc2486f7e1879b41a10b7b76806206b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 19 Sep 2023 18:21:03 +0200 Subject: transaction_test: Add more authentication tests to run as user So that it's possible also to verify an info text conversation --- test-services/deny-service | 2 ++ test-services/echo-service | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 test-services/deny-service create mode 100644 test-services/echo-service (limited to 'test-services') 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 -- cgit v1.2.3