From owner-freebsd-questions Thu Dec 28 07:33:07 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA09129 for questions-outgoing; Thu, 28 Dec 1995 07:33:07 -0800 (PST) Received: from jack.colorado.edu (jack.Colorado.EDU [128.138.149.29]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA09113 for ; Thu, 28 Dec 1995 07:33:02 -0800 (PST) Received: from jack (localhost [127.0.0.1]) by jack.colorado.edu (8.6.12/8.6.12/CNS-3.6) with SMTP id IAA03290; Thu, 28 Dec 1995 08:29:23 -0700 Message-ID: <30E2B7D3.BA9@Colorado.EDU> Date: Thu, 28 Dec 1995 08:29:23 -0700 From: "Mark G. M. O'Lear" Organization: University of Colorado X-Mailer: Mozilla 2.0b4 (X11; I; SunOS 5.4 sun4m) MIME-Version: 1.0 To: Maksim Stolyarov CC: questions@freebsd.org Subject: Re: Help! Problem with root shell :( References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk Type 'cat /etc/fstab' you will see something like: /dev/wd0s3b none swap sw 0 0 /dev/wd0a / ufs rw 1 1 /dev/wd0s2e /usr ufs rw 1 1 proc /proc procfs rw 0 0 find the line with the / in the second column (/dev/wd0a / ufs rw 1 1 in this example) type 'mount /dev/wd0a /' (or whatever the first two columns of your line says) this will re-mount the / partition as rw. Now you can do whatever you want to do with rw access. Mark O'Lear Mark.Olear@Colorado.EDU Maksim Stolyarov wrote: > Accidentally I've changed root shell to *non-existent* one. > vipw honestly warned about it. I stupidly missed the event. > Evidently I can not login neither as root nor as su now. > I rebooted the box into single mode (boot -s) in oder to > correct my mistake with vipw. BUT > > In single mode / is mounted in my system as readonly! And > I can do nothing with ``writable tools'' like vipw. > > Ideas? What should I change for mounting / as RW in single mode? > > Please send mail to mns@lpi.ac.ru because I can not even > start my home uucp to get mails (including FBSD ones) from > my Institute :( > > Specifics: FreeBSD 2.1 (great System, really) > > Thank you in advance, best wishes, > > Maksim. > --- > Maksim N. Stolyarov -> mns@lpi.ac.ru <- > Department of Theoretical Physics, > Lebedev Physical Institute, RAS > Leninskii 53, 117924, Moscow, Russia > fax: +7(95)135-8533, tel: +7(95)132-6024