Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jun 2001 17:28:20 +0200
From:      Christoph Sold <so@server.i-clue.de>
To:        Dennis White <dennywhite@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: booting problem after changing shell
Message-ID:  <3B20EF14.DCF620AA@i-clue.de>
References:  <F6zAJ95sZKxt8zPdqJL0000b89b@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Dennis White schrieb:
> 
> ran chsh to use bash instead of csh. didn't know
> there were some other files i needed to change
> too. now, when i try to boot, i can't login in
> single user mode, since the system can't find
> the right sh to run. how can i get in to add the
> shell to rc.local or whatever file it is that
> needs to be changed? 

See FAQ:

http://www.freebsd.org/doc/en_US.ISO_8859-1/books/faq/admin.html#FORGOT-ROOT-PW

Just change your shell instead of your password.

http://www.freebsd.org/doc/en_US.ISO_8859-1/books/faq/admin.html#RCCONF-READONLY

helps if the drive is mounted read-only.

Hint: the default root shell is /bin/sh or /bin/csh.

HTH
-Christoph Sold

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?3B20EF14.DCF620AA>