From owner-freebsd-questions Sun Jan 17 20:42:30 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA12091 for freebsd-questions-outgoing; Sun, 17 Jan 1999 20:42:30 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mta2-rme.xtra.co.nz (203-96-92-3.ipnets.xtra.co.nz [203.96.92.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA12082 for ; Sun, 17 Jan 1999 20:42:27 -0800 (PST) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker ([210.55.210.87]) by mta2-rme.xtra.co.nz (InterMail v04.00.02.07 201-227-108) with SMTP id <19990118044309.VTCJ678125.mta2-rme@wocker>; Mon, 18 Jan 1999 17:43:09 +1300 From: "Dan Langille" Organization: The FreeBSD Diary To: "Shane Reid" Date: Mon, 18 Jan 1999 17:42:28 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Password Reply-to: junkmale@xtra.co.nz CC: In-reply-to: <001b01be4292$af752120$320c10ac@nebula> X-mailer: Pegasus Mail for Win32 (v3.01d) Message-Id: <19990118044309.VTCJ678125.mta2-rme@wocker> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 17 Jan 99, at 21:28, Shane Reid wrote: > I hope one of you out there can help me with this. I was working on > configuring a box locally and it wasnt shutdown properly. When I moved it > to the new location I could not log in as root with the same password as > before and I was just working on it. Is there any way to change the root > password without knowing it? Any help would be appeciated. Thanks in > advance. I found the answer at http://www.freebsd.org/FAQ/FAQ135.html ### Don't Panic! Simply restart the system, type -s at the Boot: prompt to enter Single User mode. At the question about the shell to use, hit ENTER. You'll be dropped to a # prompt. Enter mount -u / to remount your root filesystem read/write, then run mount -a to remount all the filesystems. Run passwd root to change the root password then run exit to continue booting. ### -- Dan Langille The FreeBSD Diary http://www.FreeBSDDiary.com/freebsd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message