bash as a login shell (was Root users shell == no existant shell/bin/bash)

Jacob Linscott jlinscott at theplanet.com
Fri Jul 9 13:46:23 PDT 2004


Something I found long ago was adding this line to your root's .cshrc

[ -x /usr/local/bin/bash ] && exec /usr/local/bin/bash

That way you don't have to mess with changing the shell, and yet you get
bash on login.




This make it sound like you find it very bothersome to login and type 
'bash' (or whatever), to give yourself the shell you want.  Is that 
so?



More information about the freebsd-security mailing list