From owner-freebsd-questions Tue Nov 17 13:56:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA22340 for freebsd-questions-outgoing; Tue, 17 Nov 1998 13:56:08 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from PigStuy.dyn.ml.org (nyc-ny69-25.ix.netcom.com [209.109.226.89]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA22268 for ; Tue, 17 Nov 1998 13:56:05 -0800 (PST) (envelope-from spork@pigstuy.dyn.ml.org) Received: from localhost (spork@localhost) by PigStuy.dyn.ml.org (8.8.8/8.8.7) with SMTP id QAA00475; Tue, 17 Nov 1998 16:55:11 -0500 (EST) (envelope-from spork@pigstuy.dyn.ml.org) Date: Tue, 17 Nov 1998 16:55:10 -0500 (EST) From: Spike Gronim Reply-To: sporkl@ix.netcom.com To: Alex Knowles cc: questions@FreeBSD.ORG Subject: RE: I can't believe I am soo stupid In-Reply-To: <615CAC0140CED111AF1500805FEDDB8A094AEA@ns.new-mediacom.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 17 Nov 1998, Alex Knowles wrote: > Thanks alot for all this, and I've tried to edit the passwd file, however > the / partition is mounted read-only, a dodgy friend of mine is sending me a > low level editor > we'll see You can type "fsck /" and then "mount -w /" to mount / read-write. > > -----Original Message----- > From: Malartre [mailto:malartre@aei.ca] > Sent: Tuesday, November 17, 1998 7:52 PM > To: Gary Kline > Cc: Alex Knowles; questions@FreeBSD.ORG > Subject: Re: I can't believe I am soo stupid > > > Gary Kline wrote: > > > > According to Alex Knowles: > > [Charset iso-8859-1 unsupported, filtering to ASCII...] > > > doh, > > > I have just locked myself out of my bsd 3 box > > > I tried to change the shell that root uses by editing the passwd file > and > > > put in > > > /usr/bin/tcsh > > > When i try and log in as root it says that it can't find bin/tcsh > > > and dumps me back to a login prompt > > > Please help (preferably kindly!) > > > thanks alot > > > > > > Shutdown and reboot the system. Bring it up in single-user > > mode by typing ``-b'' at the > > > > boot: > > > > prompt. > > > > There is a more detailed explaination in the Answerman column > > of Daemon News a month or so ago. > > > > gary kline. > > > It's "-s" I think, not "-b". > Also, to edit the password file, I think you need to run "vipw". > -- > [Malartre][malartre@aei.ca][http://www.lowrent.org/freebsd/malartre/] > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > -Spike Gronim sporkl@ix.netcom.com The majority only rules those who let them. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message