From owner-freebsd-questions Tue Aug 15 06:55:09 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id GAA23215 for questions-outgoing; Tue, 15 Aug 1995 06:55:09 -0700 Received: from btr0x1.hrz.uni-bayreuth.de (btr0x1.hrz.uni-bayreuth.de [132.180.8.29]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id GAA23205 for ; Tue, 15 Aug 1995 06:54:56 -0700 Received: from btp1x5 (btp1x5.phy.uni-bayreuth.de) by btr0x1.hrz.uni-bayreuth.de (4.1/btr0x1 (UBTGW/btr0x1-2.4.7)) id AA01433; Tue, 15 Aug 95 15:54:45 +0200 Received: by btp1x5; (5.65/1.1.8.2/13Mar95-1216PM) id AA19074; Tue, 15 Aug 1995 15:58:45 +0100 From: griessl Message-Id: <9508151458.AA19074@btp1x5> Subject: Re: root shell problem (fwd) To: freyes@i-2000.com Date: Tue, 15 Aug 1995 15:58:44 +0100 (WET DST) Cc: questions@freebsd.org X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 971 Sender: questions-owner@freebsd.org Precedence: bulk Forwarded message: >From werner Tue Aug 15 15:57:26 1995 From: griessl Message-Id: <9508151457.AA18885@btp1x5> Subject: Re: root shell problem To: werner@btp1x5.phy.uni-bayreuth.de (griessl) Date: Tue, 15 Aug 1995 15:57:26 +0100 (WET DST) In-Reply-To: <9508151430.AA14390@btp1x5> from "griessl" at Aug 15, 95 03:30:06 pm X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 487 > > > > > I was attempting to change my shell for the roo to bash. I left > > out the initial '/' so I wrote usr/.... instead of /usr.... > > > > How can I fix this? I can not log in as root. Is there a way to log > > in an indicate a shell at the same time? > > > Boot your system with -s on the boot prompt (single user) I forgot: Do a "mount -u /" here to make the root-partition writable Werner > and mount manually the /usr-partition. > Then try vipw ! > > Werner > >