Skip to content

Instantly share code, notes, and snippets.

@jfryman
Created June 30, 2011 19:05
Show Gist options
  • Save jfryman/1056933 to your computer and use it in GitHub Desktop.
Save jfryman/1056933 to your computer and use it in GitHub Desktop.
# here are the per-package modules (the "Primary" block)
password [success=1 default=ignore] pam_unix.so obscure sha512
# here's the fallback if no module succeeds
password requisite pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
password required pam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config
password required pam_ldap.so ignore_unknown_user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment