Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 1997 16:59:24 -0400 (EDT)
From:      "Adrian T. Filipi-Martin" <atf3r@cs.virginia.edu>
To:        shaun <shaun@trifecta.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ROOT SHELL
Message-ID:  <Pine.SUN.3.90.970812165652.8234I-100000@stretch.cs.Virginia.edu>
In-Reply-To: <33F0A764.9CE@trifecta.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Aug 1997, shaun wrote:

> HI I seem to have changed root shell to ftpshell so now I cant logon as
> root! Do you know how to change it back?
> 
> Please help me!
> Thank you.
> Shaun
> shaun@trifecta.com


	Reboot your machine and bring it up in single user mode.  You can 
do this from the console, by pressing control-alt-delete.  Wait for the 
OS to shutdown, then as it's rebooting enter "-s" as an argument at the 
boot prompt.  Once it boots, your root filesystem will be mounted 
read-only, so you will need to remount it to make it writeable.  mount -a 
should be sufficient.

	From there, you can fix your root account shell.

	Adrian
--
adrian@virginia.edu        ---->>>>| If I were stranded on a desert island, and
System Administrator         --->>>| I could only have one OS for my computer,
Neurosurgical Visualzation Lab -->>| it would be FreeBSD.  Think about it.....
http://www.nvl.virginia.edu/     ->|      http://www.freebsd.org/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.90.970812165652.8234I-100000>