From owner-freebsd-questions Thu Dec 28 13:55:29 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA02645 for questions-outgoing; Thu, 28 Dec 1995 13:55:29 -0800 (PST) Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA02639 for ; Thu, 28 Dec 1995 13:55:21 -0800 (PST) Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id NAA12350; Thu, 28 Dec 1995 13:55:15 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.7.3/8.6.5) with SMTP id NAA00706; Thu, 28 Dec 1995 13:55:21 -0800 (PST) Message-Id: <199512282155.NAA00706@corbin.Root.COM> To: "Maksim Stolyarov" cc: freebsd-questions@freebsd.org Subject: Re: Help! Problem with root shell :( In-reply-to: Your message of "Thu, 28 Dec 95 11:19:45 +0300." From: David Greenman Reply-To: davidg@Root.COM Date: Thu, 28 Dec 1995 13:55:16 -0800 Sender: owner-questions@freebsd.org Precedence: bulk > 2. Alarm! (or BEDA! in Russian :) Please help! > Situation: > > 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? Do a "mount -u /" and "TERM=cons25; export TERM". You should then be able to use vipw. -DG