From owner-freebsd-security Tue Jun 19 2:22:46 2001 Delivered-To: freebsd-security@freebsd.org Received: from sbtx.tmn.ru (sbtx.tmn.ru [212.76.160.49]) by hub.freebsd.org (Postfix) with ESMTP id E5F8037B403 for ; Tue, 19 Jun 2001 02:22:42 -0700 (PDT) (envelope-from serg@sbtx.tmn.ru) Received: from sv.tech.sibitex.tmn.ru (sv.tech.sibitex.tmn.ru [212.76.160.59]) by sbtx.tmn.ru (8.11.3/8.11.3) with ESMTP id f5J9MdI72058; Tue, 19 Jun 2001 15:22:41 +0600 (YEKST) (envelope-from serg@sbtx.tmn.ru) Received: (from serg@localhost) by sv.tech.sibitex.tmn.ru (8.11.4/8.11.4) id f5J9Mc861743; Tue, 19 Jun 2001 15:22:38 +0600 (YEKST) (envelope-from serg) Date: Tue, 19 Jun 2001 15:22:38 +0600 From: "Sergey N. Voronkov" To: richard harris Cc: freebsd-security@freebsd.org Subject: Re: single user Message-ID: <20010619152238.A61703@sv.tech.sibitex.tmn.ru> References: <20010619150310.A61639@sv.tech.sibitex.tmn.ru> <20010619090728.18468.qmail@web11903.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010619090728.18468.qmail@web11903.mail.yahoo.com>; from h4rris_99@yahoo.com on Tue, Jun 19, 2001 at 02:07:28AM -0700 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Jun 19, 2001 at 02:07:28AM -0700, richard harris wrote: > > Boot from fixit disk (doesn't matter wich version > > you have). > > Mount your root partition (rw) and edit /etc/ttys. > > [skip] > But the problem is right now i can't come to root, so > what can i do to come my root (password root) > 1) Take a local copy of kern.flp, mfsroot.flp, fixit.flp (f.e. from: ftp://ftp.de.freebsd.org/pub/FreeBSD/releases/i386/4.3-RELEASE/floppies) 2) Make three disks (read README.TXT in directory above) 3) Boot from kernel & mfsroot floppies. (Previously setting your computer to boot from it, if have this option disabled by default) 4) Choose "Fixit" and insert fixit disk. 5) Mount your root partition using shell prompt (I don't remember exactly where you can get it... Try to use Alt-F?) Ex.: mount /dev/ad0s3a /mnt 6) Edit your /mnt/etc/ttys. 7) umount /mnt 8) Remove floppy and boot single user... 9) vipw ;-)) Best Regards, Sergey N. Voronkov. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message