Bug 176481 - pam(3) does not search /usr/local/lib for modules
Summary: pam(3) does not search /usr/local/lib for modules
Status: Closed DUPLICATE of bug 191151
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 1.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-27 16:10 UTC by David Naylor
Modified: 2015-09-22 11:21 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Naylor freebsd_committer freebsd_triage 2013-02-27 16:10:00 UTC
pam(3) only searches `/usr/lib` for modules however any ports install
pam modules (for example pefs) which install pam modules in
`/usr/local/lib`.

Fix: 

Instead of about pam line use:
"""
auth            sufficient      /usr/local/lib/pam_pefs.so      try_first_pass
"""
to /etc/pam.d/system
How-To-Repeat: Install sysutils/pefs-kmod and add 
"""
auth            sufficient      pam_pefs.so      try_first_pass
"""
to /etc/pam.d/system

Normally this will not interfer in a setup however since pam_pefs.so
cannot be found it does not permit any login
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-02-28 01:26:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-bugs

This appears to be a problem in the pam binary, not ports.
Comment 2 David Naylor freebsd_committer freebsd_triage 2015-04-19 13:00:37 UTC
Could this be considered "Works as intended"?
Comment 3 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2015-09-22 11:21:21 UTC

*** This bug has been marked as a duplicate of bug 191151 ***