From owner-freebsd-current@FreeBSD.ORG Wed Jun 16 19:59:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57D5116A4CE for ; Wed, 16 Jun 2004 19:59:21 +0000 (GMT) Received: from cmsrelay03.mx.net (cmsrelay03.mx.net [165.212.11.112]) by mx1.FreeBSD.org (Postfix) with SMTP id 0442B43D2D for ; Wed, 16 Jun 2004 19:59:21 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from cmsapps01.cms.usa.net (165.212.11.136) by cmsoutbound.mx.net with SMTP; 16 Jun 2004 19:59:06 -0000 Received: from optimator.noacks.org [70.240.243.152] by cmsapps01.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.13N) with ESMTP id 607iFPT8e0108M36; Wed, 16 Jun 2004 19:59:04 GMT X-USANET-Auth: 70.240.243.152 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 5466B6170; Wed, 16 Jun 2004 14:59:03 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02496-08; Wed, 16 Jun 2004 14:59:02 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 4E435616F; Wed, 16 Jun 2004 14:59:02 -0500 (CDT) Received: from [127.0.0.1] (localhost.noacks.org [127.0.0.1]) by compgeek.noacks.org (8.12.11/8.12.11) with ESMTP id i5GJx1rZ002049; Wed, 16 Jun 2004 14:59:01 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <40D0A685.4000102@alumni.rice.edu> Date: Wed, 16 Jun 2004 14:59:01 -0500 From: Jon Noack User-Agent: Mozilla Thunderbird 0.6 (X11/20040531) X-Accept-Language: en-us, en MIME-Version: 1.0 To: phorechuk@docucom.ca References: <40D050F1.3000300@docucom.ca> In-Reply-To: <40D050F1.3000300@docucom.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: freebsd-current@freebsd.org Subject: Re: pam_nologin X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 19:59:21 -0000 On 06/16/04 08:53, Paul Horechuk wrote: > I just finished a binary upgrade from 4.7 to 5.21. The /usr/src tree has > been cleaned out and /etc backed up. Everything appeard to go as > expected. The system installed the root account with no password. I set > a password and restored my hosts file. Upon a reboot I get the following > after entering a username (any name): > login: Unable to dlopen(/usr/lib/pam_nologin.so) > Login: [dlerror: /lib/libutil.so.4: undefined symbol "mac_is_present"] > login: adding faulty module: /usr/lib/pam_nologin.so > > then I get a core dump (login.core) > > I have to crash the system (Ctrl+Alt+Del) and login vy single user mode, > but I don't have network access. > > Without a network I cannot cvsup any patches. What I do when I need network access in single-user mode (mount disks, turn on swap, turn on networking): 1) 'fsck -p' (ensure disk consistency) 2) 'mount -u /' (remount / as rw) 3) 'mount -at ufs' (mount the rest of the local partitions) 4) 'swapon -a' (get swap going) 5) '/etc/netstart' (start networking) This may skip steps, do more than needed, or not use the right commands -- I don't know. It's just always worked for me... Jon