From owner-freebsd-questions Thu Jul 6 8:24:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from merlin.prod.itd.earthlink.net (merlin.prod.itd.earthlink.net [207.217.120.156]) by hub.freebsd.org (Postfix) with ESMTP id 3EB7237C40F for ; Thu, 6 Jul 2000 08:24:07 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from dialin-client.earthlink.net (pool0184.cvx21-bradley.dialup.earthlink.net [209.179.192.184]) by merlin.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id IAA12692; Thu, 6 Jul 2000 08:24:05 -0700 (PDT) Received: (from cjc@localhost) by dialin-client.earthlink.net (8.9.3/8.9.3) id IAA00514; Thu, 6 Jul 2000 08:22:30 -0700 (PDT) Date: Thu, 6 Jul 2000 08:22:29 -0700 From: "Crist J. Clark" To: Adam Hefetz Cc: freebsd-questions@FreeBSD.ORG Subject: Re: problems with root Message-ID: <20000706082229.B268@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <20000706142103.14777.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000706142103.14777.qmail@hotmail.com>; from adam_hefetz@hotmail.com on Thu, Jul 06, 2000 at 02:21:03PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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