From owner-freebsd-questions@FreeBSD.ORG Sat Apr 16 17:56:26 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3FFB16A4CE for ; Sat, 16 Apr 2005 17:56:26 +0000 (GMT) Received: from smtpq3.home.nl (smtpq3.home.nl [213.51.128.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B6A143D49 for ; Sat, 16 Apr 2005 17:56:26 +0000 (GMT) (envelope-from danny@ricin.com) Received: from [213.51.128.136] (port=59837 helo=smtp5.home.nl) by smtpq3.home.nl with esmtp (Exim 4.30) id 1DMrWr-0007mD-8f for freebsd-questions@freebsd.org; Sat, 16 Apr 2005 19:56:25 +0200 Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.215.228]:56323 helo=desktop.homenet) by smtp5.home.nl with esmtp (Exim 4.30) id 1DMrWq-0001cP-4C for freebsd-questions@freebsd.org; Sat, 16 Apr 2005 19:56:24 +0200 From: Danny Pansters To: freebsd-questions@freebsd.org Date: Sat, 16 Apr 2005 19:56:01 +0200 User-Agent: KMail/1.8 References: <6.2.0.14.0.20050225125247.02e6d948@mail.face2interface.com> <6.2.0.14.0.20050416124420.03a0bed0@mail.face2interface.com> <200504161035.55854.krinklyfig@spymac.com> In-Reply-To: <200504161035.55854.krinklyfig@spymac.com> X-Face: (Zs+'ncTcchkOX|~t6{?Iii=O!G#WEK!+OD0|-F=i%1pvP5V_Sz4PaJC8o)=?utf-8?q?MiSnH/JMJFy=0A=09oBN-My?=,v":S7,(=?utf-8?q?mmkPm=27U=7BMgT+eM=2EBd=5Cp/P!dr=5DhOTXqpse21O!=25Ct=60SE=2EOodq?= =?utf-8?q?=5Dry=5E=23kU=5E=0A=09-?=GT.[8D}i$6P>=" =?utf-8?q?=23=0A=09*J+4d=7E?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504161956.01579.danny@ricin.com> X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Subject: Re: lost root passwd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2005 17:56:26 -0000 On Saturday 16 April 2005 19:35, Joshua Tinnin wrote: > On Sat 16 Apr 05 09:57, Marty Landman > > 3. rebooting into single user mode from the HD, after entering > > > > # mount -t ufs -a > > Did you do > > # mount -u / > > ? > This is the problem, in SU mode the / partition gets mounted read-only, so you need to remount it RW with the -u switch as stated above. mount -a will not re-mount an already mounted filesystem only those in fstab that are not mounted yet. [ btw, pam_chauthtok() is a function called by the pam_unix module AFAICT ] HTH, Dan