From owner-freebsd-current@FreeBSD.ORG Sat May 14 13:57:59 2005 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 2432416A53F for ; Sat, 14 May 2005 13:57:59 +0000 (GMT) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD70843D68 for ; Sat, 14 May 2005 13:57:58 +0000 (GMT) (envelope-from des@des.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IGH002Z8LYUCC20@osl1smout1.broadpark.no> for freebsd-current@freebsd.org; Sat, 14 May 2005 18:04:06 +0200 (CEST) Received: from dsa.des.no ([80.203.228.37]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IGH00LM2GA79AA0@osl1sminn1.broadpark.no> for freebsd-current@freebsd.org; Sat, 14 May 2005 16:01:19 +0200 (CEST) Received: by dsa.des.no (Pony Express, from userid 666) id 7DCA745165; Sat, 14 May 2005 15:57:31 +0200 (CEST) Received: from xps.des.no (xps.des.no [10.0.0.12]) by dsa.des.no (Pony Express) with ESMTP id DC1E045131; Sat, 14 May 2005 15:57:26 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id CF5EE33C3B; Sat, 14 May 2005 15:57:26 +0200 (CEST) Date: Sat, 14 May 2005 15:57:26 +0200 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) In-reply-to: <000001c55856$fe6a7ab0$0a2a15ac@Sonomago> To: Darren Pilgrim Message-id: <86br7dewqh.fsf@xps.des.no> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on dsa.des.no References: <000001c55856$fe6a7ab0$0a2a15ac@Sonomago> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.0.2 X-Spam-Level: cc: freebsd-current@freebsd.org Subject: Re: cannot log on as root after upgrade X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 May 2005 13:57:59 -0000 "Darren Pilgrim" writes: > I'm having this same problem with on a system built from sources pulled d= own > today. Logging in on the console as root produces the "pam_acct_mgmt(): > authentication error" message. However, logging in as a normal user works > fine and I can then `su -` to root without error, so I know my password > files are ok. > > I completely reinstalled my /etc/pam.d directory, no luck. Re-built and > installed the world as single user, no luck, still broken. This is not a PAM bug. Someone broke ttyname() so the code that checks if you are logging in on a secure tty fails. Quick workaround: comment out the pam_securetty line in /etc/pam.d/login. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no