Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2000 08:22:29 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Adam Hefetz <adam_hefetz@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: problems with root
Message-ID:  <20000706082229.B268@dialin-client.earthlink.net>
In-Reply-To: <20000706142103.14777.qmail@hotmail.com>; from adam_hefetz@hotmail.com on Thu, Jul 06, 2000 at 02:21:03PM %2B0000
References:  <20000706142103.14777.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 06, 2000 at 02:21:03PM +0000, Adam Hefetz wrote:
> Hi,
> I did something really stupid and deleted tcsh to free up some space. The 
> problem is that if I want to login as root it can't because I don't have 
> tcsh. I would install tcsh from the ports or download it to a floppy but 
> when I type 'mount' or 'ppp' I get 'Operation not permitted'. Does any one 
> have any suggestions?

Boot into single-user mode and use vipw(8) or chsh(1) to put in a
valid shell for root.

In the future, make sure either root or toor (if you kept that user)
has a shell in /bin.
-- 
Crist J. Clark                           cjclark@alum.mit.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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