From nobody@FreeBSD.org  Thu Jan 31 14:10:49 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 3B49A37B402
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 31 Jan 2002 14:10:49 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g0VMAnd07288;
	Thu, 31 Jan 2002 14:10:49 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200201312210.g0VMAnd07288@freefall.freebsd.org>
Date: Thu, 31 Jan 2002 14:10:49 -0800 (PST)
From: Hendrik Scholz <hendrik@scholz.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: systerm doesn't permit local login because two pam modules are missing after upgrading to -CURRENT
X-Send-Pr-Version: www-1.0

>Number:         34507
>Category:       bin
>Synopsis:       systerm doesn't permit local login because two pam modules are missing after upgrading to -CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 31 14:20:01 PST 2002
>Closed-Date:    Sat Feb 2 10:55:44 PST 2002
>Last-Modified:  Sat Feb 02 10:55:46 PST 2002
>Originator:     Hendrik Scholz
>Release:        5.0-CURRENT
>Organization:
NetUSE AG
>Environment:
FreeBSD deimos.lan.raisdorf.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Jan 31 2
3:01:59 CET 2002     hscholz@deimos.lan.raisdorf.net:/usr/src/sys/i386/compile/D
EIMOS5  i386
   
>Description:
I upgraded from 4.5-RELEASE to 4.5-STABLE and then to 5.0-CURRENT.
After doing installworld, mergemaster and rebooting the system
doesn't allow local login anymore.
It keeps saying that it cannot dlopen /usr/lib/pam_login_access.so.
If that one is available the system lacks /usr/lib/pam_lastlog.so.

>How-To-Repeat:
Upgrade to -current from -stable.
Simply try to login.
>Fix:
The pam_login_access und pam_lastlog modules seem to be not compiled.
/usr/src/lib/libpam/modules/Makefile doesn't show them.

By adding two SUBDIR+= lines to the Makefile and running make && make install the system runs well again.


--- Makefile.orig       Thu Jan 31 23:57:18 2002
+++ Makefile    Thu Jan 31 23:57:52 2002
@@ -32,6 +32,8 @@
 .if defined(MAKE_KERBEROS5) && !defined(NOCRYPT) && !defined(NO_OPENSSL)
 SUBDIR+=       pam_krb5
 .endif
+SUBDIR+=    pam_lastlog
+SUBDIR+=    pam_login_access
 SUBDIR+=       pam_nologin
 SUBDIR+=       pam_opie
 SUBDIR+=       pam_opieaccess


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: matusita 
State-Changed-When: Sat Feb 2 10:32:23 PST 2002 
State-Changed-Why:  
It seems that it is the same change of src/lib/libpam/modules/Makefile 
rev 1.17.  If yes, this PR can be closed. 

But I do not close this PR, leaving the decision to PAM maintainer. 


Responsible-Changed-From-To: freebsd-bugs->des 
Responsible-Changed-By: matusita 
Responsible-Changed-When: Sat Feb 2 10:32:23 PST 2002 
Responsible-Changed-Why:  
des is working on PAM area. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34507 
State-Changed-From-To: analyzed->closed 
State-Changed-By: des 
State-Changed-When: Sat Feb 2 10:55:44 PST 2002 
State-Changed-Why:  
Already fixed. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=34507 
>Unformatted:
