From owner-freebsd-questions Tue Nov 17 11:53:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA02532 for freebsd-questions-outgoing; Tue, 17 Nov 1998 11:53:52 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gamma.aei.ca (gamma.aei.ca [206.123.6.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA02526 for ; Tue, 17 Nov 1998 11:53:51 -0800 (PST) (envelope-from malartre@aei.ca) Received: from aei.ca (ppp-109-81.mtl.aei.ca [207.107.109.81]) by gamma.aei.ca (8.8.5/8.8.5) with ESMTP id OAA28948; Tue, 17 Nov 1998 14:53:04 -0500 (EST) Message-ID: <3651D3E5.4BF43F7D@aei.ca> Date: Tue, 17 Nov 1998 14:52:05 -0500 From: Malartre X-Mailer: Mozilla 4.06 [en] (X11; I; FreeBSD 2.2.7-STABLE i386) MIME-Version: 1.0 To: Gary Kline CC: Alex Knowles , questions@FreeBSD.ORG Subject: Re: I can't believe I am soo stupid References: <199811171853.KAA26531@athena.tera.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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