Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Dec 1995 13:55:16 -0800
From:      David Greenman <davidg@Root.COM>
To:        "Maksim Stolyarov" <mns@lpi.ac.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Help! Problem with root shell :( 
Message-ID:  <199512282155.NAA00706@corbin.Root.COM>
In-Reply-To: Your message of "Thu, 28 Dec 95 11:19:45 %2B0300." <AGXCbume18@td.lpi.ac.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
>	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512282155.NAA00706>