From owner-freebsd-questions Sun Feb 20 4:16: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scotty.masternet.it (scotty.masternet.it [194.184.65.2]) by hub.freebsd.org (Postfix) with ESMTP id 3DB5137BD1C for ; Sun, 20 Feb 2000 04:16:06 -0800 (PST) (envelope-from gmarco@scotty.masternet.it) Received: from suzy.scotty.masternet.it (modem19.masternet.it [194.184.65.29]) by scotty.masternet.it (8.9.3/8.9.3) with ESMTP id NAA39367; Sun, 20 Feb 2000 13:16:00 +0100 (CET) (envelope-from gmarco@scotty.masternet.it) Message-Id: <4.3.2.20000220131008.00c596a0@scotty.masternet.it> X-Sender: gmarco@scotty.masternet.it X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Sun, 20 Feb 2000 13:13:48 +0100 To: "Stefan Boy" , freebsd-questions@FreeBSD.ORG From: Gianmarco Giovannelli Subject: Re: I forgot the root password In-Reply-To: <20000220121046.51928.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 20/02/00, 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. Boot in single user mode using the -s switch at startup, then when the single mode boot is finished mount your relevant partitions by hand (i.e. mount /, mount /usr) and finally change the root pwd with a : passwd root Give the command "exit" (the boot process continues) and your are in business again... P.s. It works if your console is "secure" ... Best Regards, Gianmarco Giovannelli , "Unix expert since yesterday" http://www.giovannelli.it/~gmarco http://www2.masternet.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message