cswiger at mac.com
Wed Dec 17 20:49:45 UTC 2008
On Dec 17, 2008, at 12:12 PM, Jonathan Moore wrote:
> I just installed FreeBSD with Gnome. And I changed the shell when I
> logged ito the terminal as su root. Now when I try to log in to su
> it asks
> for a password and I get "su: /usr/bin/csh: No such file or
> directory" how
> can I change it back.
Reboot into single-user mode, which will give you a /bin/sh root
shell, run vipw, and fix the root shell to be /bin/csh. Or, if you
have sudo available, you can use that directly to get a root shell and
fix it without needing to hit single-user mode....
More information about the freebsd-questions