google / google-authenticator-libpam

Apache License 2.0
1.8k stars 286 forks source link

Try installing PAM module in /usr/lib/pam before /usr/lib, if possible #36

Open ThomasHabets opened 8 years ago

ThomasHabets commented 8 years ago

From @ThomasHabets on October 10, 2014 8:6

Original issue 143 created by russell@hancox.us on 2012-02-10T18:18:12.000Z:

Try installing module in /usr/lib/pam before /usr/lib, if possible

Copied from original issue: google/google-authenticator#142

ThomasHabets commented 8 years ago

Patch doesn't seem to have migrated properly:

--- a/libpam/Makefile +++ b/libpam/Makefile

@@ -1,4 +1,3 @@

Copyright 2010 Google Inc.

Author: Markus Gutschke

# @@ -37,7 +36,8 @@ @dst="find /lib*/security /lib*/*/security -maxdepth 1 \ -name pam_unix.so -printf '%H' -quit 2>/dev/null"; \ [ -d "$${dst}" ] || dst=/lib/security; \