From owner-freebsd-questions Fri Jun 11 1:40:30 1999 Delivered-To: freebsd-questions@freebsd.org Received: from titan.metropolitan.at (mail.metropolitan.at [195.212.98.131]) by hub.freebsd.org (Postfix) with ESMTP id F2D671529A for ; Fri, 11 Jun 1999 01:40:10 -0700 (PDT) (envelope-from mladavac@metropolitan.at) Received: by TITAN with Internet Mail Service (5.0.1458.49) id ; Fri, 11 Jun 1999 10:43:04 +0200 Message-ID: <55586E7391ACD211B9730000C110027617965B@r-lmh-wi-100.corpnet.at> From: Ladavac Marino To: "'Swanson, Toby J.'" , "'questions@freebsd.org'" Cc: "'toby@milkyway.org'" Subject: RE: how to make a fixit floppy Date: Fri, 11 Jun 1999 10:37:37 +0200 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Swanson, Toby J. [SMTP:tjswanson@tva.gov] > Sent: Thursday, June 10, 1999 7:28 PM > To: 'questions@freebsd.org' > Cc: 'toby@milkyway.org' > Subject: how to make a fixit floppy > > I need root access to a 2.1.7 host. The old administrator left > without > giving > anyone (any information) the root password. This machine does not > have > a cdrom drive, only a floppy and the hard drives. The plan is to boot > up > using the floppy, mount the root file system, vi /etc/passwd and > remove 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, > [ML] Take boot, root, and fixit floppies from any later release. Boot and go into fixit mode. Mount the / of the hard disk as /mnt. edit /etc/ttys (or is it ttytab?) and set vt0-vt3 to secure (if they are insecure). reboot. supply -s as a boot flag to the hard disk boot loader. you are now in standalone mode and should not be asked for the root password (if you are, repeat the edit sequence and choose the other option--sorry, I only have an NT box in front of me). mount /usr passwd root there you go. /Marino > Toby > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message