From owner-freebsd-questions Mon Jun 14 12:11:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from esmeralda.xaa.iae.nl (esmeralda.xaa.iae.nl [194.151.75.9]) by hub.freebsd.org (Postfix) with ESMTP id 235EA14F0B for ; Mon, 14 Jun 1999 12:11:33 -0700 (PDT) (envelope-from freebsd@xaa.iae.nl) Received: from ariel.xaa.iae.nl (ariel.xaa.iae.nl [194.151.75.10]) by esmeralda.xaa.iae.nl (Postfix) with ESMTP id CAA9E19A; Mon, 14 Jun 1999 21:11:32 +0200 (MET DST) Received: by ariel.xaa.iae.nl (Postfix, from userid 1008) id 3A216196B; Sun, 13 Jun 1999 09:40:26 +0200 (CEST) Date: Sun, 13 Jun 1999 09:40:26 +0200 From: Mark Huizer To: "Swanson, Toby J." Cc: 'Adam Ulmer' , "'questions@freebsd.org'" Subject: Re: how to hack root :) Message-ID: <19990613094026.A95920@ariel.xaa.iae.nl> References: <8C8DCBC7A064D01181F30000F8014E277DBB11@knxnorois1b.noh.tva.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <8C8DCBC7A064D01181F30000F8014E277DBB11@knxnorois1b.noh.tva.gov>; from Swanson, Toby J. on Thu, Jun 10, 1999 at 01:38:33PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > the > > > root password, boot from the hard drive and log in as root. I searched > > the > > > FAQ and mailing list archives but did not find any instructions on doing > > > > > this sort of thing. I have booted using the install floppy, and then > > opened > > > > > > vty4. However, I can't seem to get any commands to work there. > > > > > > Any help is appreciated, > > > > > > Toby boot install flop, run fixit flop, fsck /dev/whereveryourrootis, mount /dev/whereveryourrootis /mnt vi /mnt/etc/ttys make console insecure reboot in single user mode fsck / mount -u -o rw / vipw reboot -- Nice testing in little China... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message