Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 14:10:49 -0800 (PST)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/34507: systerm doesn't permit local login because two pam modules are missing after upgrading to -CURRENT
Message-ID:  <200201312210.g0VMAnd07288@freefall.freebsd.org>

index | next in thread | raw e-mail


>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:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 31 14:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201312210.g0VMAnd07288>