From owner-freebsd-questions Sun Feb 20 9: 6:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta2.rcsntx.swbell.net (mta2.rcsntx.swbell.net [151.164.30.26]) by hub.freebsd.org (Postfix) with ESMTP id 2E15237BEF4 for ; Sun, 20 Feb 2000 09:06:47 -0800 (PST) (envelope-from jbryant@ppp-207-193-187-122.kscymo.swbell.net) Received: from ppp-207-193-187-122.kscymo.swbell.net ([207.193.187.122]) by mta2.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FQ800JQSNJ1QF@mta2.rcsntx.swbell.net> for freebsd-questions@FreeBSD.ORG; Sun, 20 Feb 2000 11:06:41 -0600 (CST) Received: (from jbryant@localhost) by ppp-207-193-187-122.kscymo.swbell.net (8.9.3/8.8.5) id LAA68999; Sun, 20 Feb 2000 11:06:35 -0600 (CST) Date: Sun, 20 Feb 2000 11:06:27 -0600 (CST) From: Jim Bryant Subject: Re: I forgot the root password In-reply-to: To: shovey@buffnet.net (Steve Hovey) Cc: ohahx@hotmail.com, freebsd-questions@FreeBSD.ORG Reply-To: kc5vdj@swbell.net Message-id: <200002201706.LAA68999@ppp-207-193-187-122.kscymo.swbell.net> MIME-version: 1.0 X-Mailer: ELM [version 2.4ME+ PL32 (25)] Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Windows: R00LZ!@# MS-Winbl0wz DR00LZ!@# X-files: The truth is that the X-Files is fiction X-Republican: The best kind!!! X-Operating-System: FreeBSD 4.0-CURRENT #8: Sat Oct 30 00:56:56 CDT 1999 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In reply: > boot it standalone (when it boots up and stops with a prompt - instead of > hitting enter - type -s and then enter) > > mount your drives in standalone > > (mount -a) > > you are then root in standalone with your drives mounted - so you can set > a new password for yourself > > (just type passwd) > > On Sun, 20 Feb 2000, Stefan Boy wrote: > > > Hi > > > > Iam using FreeBSD 3.2 > > > > And I have lost the paper where i writed the root password. > > > > I only got two users on the system, thats me, and my girlfriend. > > > > All the passwords was on the piece of paper I lost :\ > > > > How can I change the root password ? > > > > I dont got the boot disk. well, this all assumes that the guy bothered to change his console in /etc/ttys to "secure". keep in mind, he WROTE HIS PASSWORDS DOWN, meaning that he is probably extremely new to computing, and as such, I have my doubts that he will be able to boot to a shell prompt in single-user mode. As I recall, the default is to ask for root's password upon booting single-user, unless /etc/ttys is explicitly changed. Best bet is to download the floppies from the ftp site and try to at least get in using fixit. In the future, I advise that he pick non-obvious passwords that he WILL remember, and to NOT write them down. Anyone ever see WarGames? Written passwords can get lost, and then found by people you don't want to have them. jim -- All opinions expressed are mine, if you | "I will not be pushed, stamped, think otherwise, then go jump into turbid | briefed, debriefed, indexed, or radioactive waters and yell WAHOO !!! | numbered!" - #1, "The Prisoner" ------------------------------------------------------------------------------ KC5VDJ - HF to 23cm KC5VDJ@NW0I.#NEKS.KS.USA.NOAM kc5vdj@swbell.net ------------------------------------------------------------------------------ IC-706MkII - IC-T81A - HTX-202 - HTX-212 - HTX-404 - KPC3+ - PK-232MBX/DSP To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message