su command problem

Jeff Wirth jeff.wirth at gmail.com
Tue Mar 29 08:58:36 PST 2005


> On Tue, 29 Mar 2005 08:25:10 -0800 (PST), John Public <jhnpublic at yahoo.com> wrote:
> Thank you very much!  I had checked the password file,
> but had been focused on the mysql account.  I only
> just noticed that the root account was set to use
> /bin/csh for it's shell.  When I changed it to
> /usr/local/bin/bash, suddenly everything started
> working.  

It's usually considered dangerous to change root's shell outside of
'sh' or 'csh'.  You may end up with a broken shell if you need to drop
to single user mode.

-jw


More information about the freebsd-questions mailing list