Skip site navigation (1)Skip section navigation (2)
Date:        Tue, 12 Oct 1999 11:42:46 +0200
From:      Slawek Zak <zaks@prioris.im.pw.edu.pl>
To:        freebsd-questions@freebsd.org
Subject:   Re: root shell
Message-ID:  <19991012114246.B85074@prioris.im.pw.edu.pl>
In-Reply-To: <3802FEB3.CFBA97B4@tudogs.com>
References:  <3802FEB3.CFBA97B4@tudogs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991012114246.B85074>