/etc/profile.d scripts
m.roth2006 at rcn.com
m.roth2006 at rcn.com
Fri Apr 24 16:54:01 UTC 2009
Dave,
>Date: Fri, 24 Apr 2009 09:36:00 -0700
>From: Dave Martini <martini1 at llnl.gov>
>
>I have user logging into a RHEL4 box that has a default shell of C Shell.
>
>I have a script in /etc/profile.d that is a Bash shell script with a .sh
>extension.
>
>Is there a way to have the users shell switched to bash shell when they
>log into this RHEL4 box so that this particular .sh script in
>/etc/profile.d can be sourced?
<snip>
I *think* most c-shell-isms are acceptable to bash; however, there may be some k-shell-isms in bash that the c shell won't like.
Usually, there's an equivalent in /etc for all four shells.
mark, started with c shell, likes bash accepting
c-shell-isms
More information about the redhat-list
mailing list