From owner-freebsd-questions Tue Oct 12 2:43:30 1999 Delivered-To: freebsd-questions@freebsd.org Received: from prioris.im.pw.edu.pl (prioris.im.pw.edu.pl [148.81.80.7]) by hub.freebsd.org (Postfix) with ESMTP id 864101529B for ; Tue, 12 Oct 1999 02:43:13 -0700 (PDT) (envelope-from zaks@prioris.im.pw.edu.pl) Received: (from localhost user: 'zaks', uid#501) by prioris.im.pw.edu.pl id ; Tue, 12 Oct 1999 11:42:46 +0200 Date: Tue, 12 Oct 1999 11:42:46 +0200 From: Slawek Zak To: freebsd-questions@freebsd.org Subject: Re: root shell Message-ID: <19991012114246.B85074@prioris.im.pw.edu.pl> References: <3802FEB3.CFBA97B4@tudogs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <3802FEB3.CFBA97B4@tudogs.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Oct 12, 1999 at 11:26:11AM +0200, Hayden Katzenellenbogen wrote: > I mistakenly changed the root's shell in the passwd file and I put in > the wrong path. Now I can no longer su you to root or ssh in either. How > do I get the right path in or get a default shell to come up. Reboot to single user (boot -s from the boot prompt) and you will get /bin/sh as shell by default. -- * Suavek Zak * email: zaks@im.pw.edu.pl voice: +48 (0) 22 674 66 79 * PGP v2.3: 2048/9A7CBF71, finger://zaks@prioris.im.pw.edu.pl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message