From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 07:16:10 2003 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 D50ED16A4B3 for ; Tue, 21 Oct 2003 07:16:10 -0700 (PDT) Received: from ms-smtp-02.nyroc.rr.com (ms-smtp-02-qfe0.nyroc.rr.com [24.92.226.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id B166F43FBF for ; Tue, 21 Oct 2003 07:16:09 -0700 (PDT) (envelope-from pogrose@twcny.rr.com) Received: from dotcom.paradigm.design (rrcs-nys-24-24-30-220.biz.rr.com [24.24.30.220])h9LEG7Yo003443; Tue, 21 Oct 2003 10:16:07 -0400 (EDT) Date: Tue, 21 Oct 2003 10:15:52 -0400 From: Eric Pogroski To: Lowell Gilbert Message-Id: <20031021101552.74469a30.pogrose@twcny.rr.com> In-Reply-To: <44u162zr51.fsf_-_@be-well.ilk.org> References: <3F8315EE.5CDBCE70@chatusa.com> <20031021002425.48bbda15.pogrose@twcny.rr.com> <44u162zr51.fsf_-_@be-well.ilk.org> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: [freebsd-questions] root passwd change 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: Tue, 21 Oct 2003 14:16:10 -0000 On Tue, 21 Oct 2003 08:55:54 -0400 Lowell Gilbert wrote: > Eric Pogroski writes: > > > On Tue, 07 Oct 2003 19:37:19 +0000 > > DanB wrote: > > > > > Is there other way to change the root password that been lost > > > without shutting down the computer. > > > > > > Old way shutdown space bar boot -s #mount -t ufs -a > > > #passwd > > > # exit to multiusers. > > > > Try this: > > > > # shutdown now > > < hit return to accept 'sh' as the default shell > > > # passwd > > # exit > > Did you try that? many, many times in the past... :) > Won't it still be in the raised securelevel? nope. sorry about the brevity of my previous reply, in a bit of a rush then. here's whats needed: # shutdown now # (csh & tcsh both go fubar in single-user mode) # passwd root <--- this is important - lost one system by NOT doing this # exit -or- reboot <--- I prefer a reboot, but that's me. work's about 9 times out of 10. It's the tenth one that makes you bald from frustration... :) ps: cc your replies to questions@freebsd.org so this stuff will get to the archives.