From nobody@FreeBSD.org  Wed Feb 27 16:01:30 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id CEB792F8
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Feb 2013 16:01:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id B6BA3AF2
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Feb 2013 16:01:30 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r1RG1UCE053592
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Feb 2013 16:01:30 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r1RG1Ukj053580;
	Wed, 27 Feb 2013 16:01:30 GMT
	(envelope-from nobody)
Message-Id: <201302271601.r1RG1Ukj053580@red.freebsd.org>
Date: Wed, 27 Feb 2013 16:01:30 GMT
From: David Naylor <dbn@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: pam(3) does not search /usr/local/lib for modules
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         176481
>Category:       bin
>Synopsis:       pam(3) does not search /usr/local/lib for modules
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-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:  Thu Feb 28 01:27:52 UTC 2013
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Feb 28 01:26:27 UTC 2013 
Responsible-Changed-Why:  
This appears to be a problem in the pam binary, not ports. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=176481 
>Unformatted:
