diff --git a/spec/fixtures/debian-12-x86_64-pam_common_auth b/spec/fixtures/debian-12-x86_64-pam_common_auth new file mode 100644 index 0000000..164cc8a --- /dev/null +++ b/spec/fixtures/debian-12-x86_64-pam_common_auth @@ -0,0 +1,5 @@ +# This file is being maintained by Puppet. +# DO NOT EDIT +auth [success=1 default=ignore] pam_unix.so nullok +auth requisite pam_deny.so +auth required pam_permit.so diff --git a/spec/fixtures/debian-12-x86_64-pam_common_password b/spec/fixtures/debian-12-x86_64-pam_common_password new file mode 100644 index 0000000..79ee972 --- /dev/null +++ b/spec/fixtures/debian-12-x86_64-pam_common_password @@ -0,0 +1,5 @@ +# This file is being maintained by Puppet. +# DO NOT EDIT +password [success=1 default=ignore] pam_unix.so obscure yescrypt +password requisite pam_deny.so +password required pam_permit.so diff --git a/spec/fixtures/debian-12-x86_64-pam_common_session b/spec/fixtures/debian-12-x86_64-pam_common_session new file mode 100644 index 0000000..891ecdc --- /dev/null +++ b/spec/fixtures/debian-12-x86_64-pam_common_session @@ -0,0 +1,7 @@ +# This file is being maintained by Puppet. +# DO NOT EDIT +session [default=1] pam_permit.so +session requisite pam_deny.so +session required pam_permit.so +session required pam_unix.so +session optional pam_systemd.so diff --git a/spec/fixtures/debian-12-x86_64-pam_common_session_noninteractive b/spec/fixtures/debian-12-x86_64-pam_common_session_noninteractive new file mode 100644 index 0000000..891ecdc --- /dev/null +++ b/spec/fixtures/debian-12-x86_64-pam_common_session_noninteractive @@ -0,0 +1,7 @@ +# This file is being maintained by Puppet. +# DO NOT EDIT +session [default=1] pam_permit.so +session requisite pam_deny.so +session required pam_permit.so +session required pam_unix.so +session optional pam_systemd.so diff --git a/spec/fixtures/debian-12-x86_64-pam_d_sshd b/spec/fixtures/debian-12-x86_64-pam_d_sshd new file mode 100644 index 0000000..f587e20 --- /dev/null +++ b/spec/fixtures/debian-12-x86_64-pam_d_sshd @@ -0,0 +1,16 @@ +@include common-auth +account required pam_nologin.so +account required pam_access.so +@include common-account +session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close +session required pam_loginuid.so +session optional pam_keyinit.so force revoke +@include common-session +session optional pam_motd.so motd=/run/motd.dynamic +session optional pam_motd.so noupdate +session optional pam_mail.so standard noenv # [1] +session required pam_limits.so +session required pam_env.so # [1] +session required pam_env.so user_readenv=1 envfile=/etc/default/locale +session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open +@include common-password