From owner-freebsd-stable Fri Jun 11 14:19:44 1999 Delivered-To: freebsd-stable@freebsd.org Received: from phoenix.cl.msu.edu (phoenix.cl.msu.edu [35.9.2.50]) by hub.freebsd.org (Postfix) with ESMTP id 835D114C2A for ; Fri, 11 Jun 1999 14:19:41 -0700 (PDT) (envelope-from ikhala@phoenix.cl.msu.edu) Received: (from ikhala@localhost) by phoenix.cl.msu.edu (8.9.3/8.9.3) id RAA40253; Fri, 11 Jun 1999 17:21:58 -0400 (EDT) (envelope-from ikhala) Date: Fri, 11 Jun 1999 17:21:58 -0400 From: "I'Khala" To: nunnari Cc: freebsd-stable@freebsd.org Subject: Re: forgot root password!! Message-ID: <19990611172158.A40231@phoenix.cl.msu.edu> References: <375F8E67.B7399D8B@agie.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <375F8E67.B7399D8B@agie.ch>; from nunnari on Thu, Jun 10, 1999 at 12:07:35PM +0200 X-Operating-System: FreeBSD 3.2-STABLE i386 X-PGP-Fingerprint: 35 95 F8 63 DA 5B 32 51 8F A9 AC 3C B4 74 F3 BA WWW-Home-Page: http://www.msu.edu/~ikhala Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Quoting nunnari (roberto.nunnari@agie.ch): > Hi there. > > Can anybody tell me how I can solve this problem? > I tried to boot using the boot/fixit floppies but it doesn't > work. When I select fixit from the boot menu, it asks for > the fixit floppy but then when trying to read it, it hangs. > I also tried the holo..shell on VT4, but from that shell > I can't even issue ls nor anything else (probably I should > mount a filesystem first???) as it not recognized as a > command. From: Matthew Hunt Assuming you have physical access to the machine, and can reboot it: At the "Boot:" prompt, enter "-s" to boot in single user mode. After the system boots, it will ask for the pathname of a shell, or you can hit enter for /bin/sh. Hit enter. Run the following commands: fsck -p mount -u / mount -a -t ufs You can now run "passwd" to change the root password. Then "shutdown -r now" to reboot as usual. > > I'm using FreeBSD 3.0 > Any advice/hints? > > Best regards. > -- > Roberto Nunnari -software engineer- > mailto:roberto.nunnari@agie.ch > AGIE - http://www.agie.com > Via dei pioppi 16 tel: +41-91-8069138 > 6616 Losone """ > Switzerland (o o) > =======================oOO==(_)==OOo======================== > MY OPNIONS ARE NOT NECESSARELY THOSE OF MY EMPLOYER > #;^) -- I'Khala ikhala@msu.edu 308 Computer Laboratory ikhala@pager.msu.edu Michigan State University http://www.msu.edu/~ikhala East Lansing, MI 48824 +1.517.355.4500 x.151 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message