diff --git a/pam.d/._cfg0000_login b/pam.d/._cfg0000_login new file mode 100644 index 0000000..7641435 --- /dev/null +++ b/pam.d/._cfg0000_login @@ -0,0 +1,5 @@ +auth include system-local-login +account include system-local-login +password include system-local-login +session optional pam_lastlog.so +session include system-local-login diff --git a/pam.d/._cfg0000_system-auth b/pam.d/._cfg0000_system-auth new file mode 100644 index 0000000..f396cc8 --- /dev/null +++ b/pam.d/._cfg0000_system-auth @@ -0,0 +1,12 @@ +auth required pam_env.so +auth required pam_unix.so try_first_pass likeauth nullok +auth optional pam_permit.so +account required pam_unix.so +account optional pam_permit.so +password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3 +password required pam_unix.so try_first_pass use_authtok nullok sha512 shadow +password optional pam_permit.so +session required pam_limits.so +session required pam_env.so +session required pam_unix.so +session optional pam_permit.so diff --git a/pam.d/._cfg0000_system-login b/pam.d/._cfg0000_system-login new file mode 100644 index 0000000..96db7ad --- /dev/null +++ b/pam.d/._cfg0000_system-login @@ -0,0 +1,16 @@ +auth required pam_tally2.so onerr=succeed +auth required pam_shells.so +auth required pam_nologin.so +auth include system-auth +account required pam_access.so +account required pam_nologin.so +account include system-auth +account required pam_tally2.so onerr=succeed +password include system-auth +session optional pam_loginuid.so +session required pam_env.so +session optional pam_lastlog.so silent +session include system-auth +session optional pam_ck_connector.so nox11 +session optional pam_motd.so motd=/etc/motd +session optional pam_mail.so