LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to change from /sbin/sh to /bin/bash for 'root'? (http://www.linuxquestions.org/questions/linux-software-2/how-to-change-from-sbin-sh-to-bin-bash-for-root-863680/)

thomas2004ch 02-19-2011 01:20 AM

How to change from /sbin/sh to /bin/bash for 'root'?
 
Hi,

As I login as root, the bash is /sbin/sh. So I have problem to run script under /ect/rc3.d/myScript

So I want to change the bash from /sbin/sh to /bin/bash.

Regards

Thomas

acid_kewpie 02-19-2011 01:49 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

DJ Shaji 02-19-2011 05:29 AM

Put in your root .bashrc ( /root/.bashrc )

/bin/bash


All times are GMT -5. The time now is 10:54 AM.