From owner-freebsd-net Mon May 1 7: 5:33 2000 Delivered-To: freebsd-net@freebsd.org Received: from hotmail.com (f23.law4.hotmail.com [216.33.149.23]) by hub.freebsd.org (Postfix) with SMTP id E027837BBA2 for ; Mon, 1 May 2000 07:05:23 -0700 (PDT) (envelope-from adenbros@hotmail.com) Received: (qmail 31580 invoked by uid 0); 1 May 2000 14:05:18 -0000 Message-ID: <20000501140518.31579.qmail@hotmail.com> Received: from 205.171.7.150 by www.hotmail.com with HTTP; Mon, 01 May 2000 07:05:17 PDT X-Originating-IP: [205.171.7.150] From: "Ahmed Aden" To: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Subject: wrong root shell kicks me out when I login Date: Mon, 01 May 2000 14:05:17 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, By accidentally specifying a bogus path when I did a 'chsh' as root, I managed to lock myself out of the 'root' account because as soon as I login, it kicks me out. I tried to boot into single user mode with boot -s, but it won't let me write to any files in that mode, and that's the only mode I can access the 'root' account. I'd rather not re-install the software, but at this point, I'm out of fresh ideas. Perhaps there is a way to enable disk writing in single user mode, but I'm really not sure how that works, I'm not sure I'm on the mailing list, but please e-mail aaden@qwestip.net. You'll see below what happens when I try to 'su' to root: $ su root Password: su: /bin/tcsh: No such file or directory $ I did the 'chsh' to /bin/tcsh accidentally, it should have been /usr/local/bin/tcsh, I'm sure there's a way to fix this without reinstalling. ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message