From owner-freebsd-questions Tue Mar 13 12:19:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 0472037B71A for ; Tue, 13 Mar 2001 12:19:07 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 87268 invoked by uid 100); 13 Mar 2001 20:19:05 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15022.32953.881390.608232@guru.mired.org> Date: Tue, 13 Mar 2001 14:19:05 -0600 To: "Charles Burns" Cc: questions@freebsd.org, tanned7@hotmail.com Subject: Re: How do I change my root password? In-Reply-To: <113582787@toto.iv> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Charles Burns types: > This might work: > Right about the time the kernel stops waiting for SCSI devices to settle > (during the last fifth or so of boot up if you don't have any SCSI devices), > hit CTRL-C several times. If you didn't mark your local TTY as insecure, you > should be dropped to a question asking which shell you want to use. > Once you are at the command prompt, type "passwd root". > > Charles Burns > > Note that I have never dropped to single user mode as is described here > other than when my latest kernel decides to panic. I am not certain that > these instructions will work for a working system. Even if that does work, it's evil. The default book sequence stops with a counter (actually, it stops twice) that lets you hit a key before continuing. During the second one, after the loader runs but before the kernel runs, hit a space bar. Then type "boot -s" and hit enter. It'll boot to single user mode. Mount the root file system r/w with "mount /", then changet the passwd. >From: "Shawn Cole" > >To: > >Subject: How do I change my root password? > >Date: Tue, 9 May 2000 02:48:32 -0700 > > > >Help I forgot my password!!! > >What do I do to change the root password when I restart my FreeBSD server? > > > >Thanks, Shawn > > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Mike Meyer http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message