mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
tests: Turn on PAM support in sshd with pam_wrapper
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
4
tests/etc/pam.d/sshd.in
Normal file
4
tests/etc/pam.d/sshd.in
Normal file
@@ -0,0 +1,4 @@
|
||||
auth required @PAM_WRAPPER_MODULE_DIR@/pam_matrix.so passdb=@CMAKE_CURRENT_BINARY_DIR@/etc/pam_matrix_passdb
|
||||
account required @PAM_WRAPPER_MODULE_DIR@/pam_matrix.so passdb=@CMAKE_CURRENT_BINARY_DIR@/etc/pam_matrix_passdb
|
||||
password required @PAM_WRAPPER_MODULE_DIR@/pam_matrix.so passdb=@CMAKE_CURRENT_BINARY_DIR@/etc/pam_matrix_passdb
|
||||
session required @PAM_WRAPPER_MODULE_DIR@/pam_matrix.so passdb=@CMAKE_CURRENT_BINARY_DIR@/etc/pam_matrix_passdb
|
||||
2
tests/etc/pam_matrix_passdb.in
Normal file
2
tests/etc/pam_matrix_passdb.in
Normal file
@@ -0,0 +1,2 @@
|
||||
bob:secret:sshd
|
||||
alice:secret:sshd
|
||||
Reference in New Issue
Block a user