ports/176481: pam(3) does not search /usr/local/lib for modules

David Naylor dbn at FreeBSD.org
Wed Feb 27 16:10:01 UTC 2013


>Number:         176481
>Category:       ports
>Synopsis:       pam(3) does not search /usr/local/lib for modules
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 27 16:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     David Naylor
>Release:        
>Organization:
>Environment:
FreeBSD dragon.dg 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Sat Jan 19 10:13:56 SAST 2013     root at dragon.dg:/tmp/home/freebsd/9.1/src/sys/MODULAR  amd64
>Description:
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`.  
>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

>Fix:
Instead of about pam line use:
"""
auth            sufficient      /usr/local/lib/pam_pefs.so      try_first_pass
"""
to /etc/pam.d/system

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list