Date: Wed, 17 Dec 2008 12:49:44 -0800 From: Chuck Swiger <cswiger@mac.com> To: Jonathan Moore <jonathanm@bvunet.net> Cc: questions@FreeBSD.org Subject: Re: su qeustion Message-ID: <1C43A58A-F629-4BF9-8FF8-4942DA509570@mac.com> In-Reply-To: <000301c96083$cf622db0$6e268910$@net> References: <000301c96083$cf622db0$6e268910$@net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 17, 2008, at 12:12 PM, Jonathan Moore wrote: > I just installed FreeBSD with Gnome. And I changed the shell when I > was > 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.... Regards, -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1C43A58A-F629-4BF9-8FF8-4942DA509570>