For the given question,
•If the shell is started with the effective user (group) id not equal to the real user (group) id, and the -p option is not supplied, the effective user id is set to the real user id.
•If the -p option is supplied at startup, the effective user id is not reset.
•Turning this option off causes the effective user and group ids to be set to the real user and group ids.
•You were almost there with your ln command - except you probably needed to include the -f flag ('force') in order to overwrite the old link - also it's preferable to use a relative path for the target
sudo ln -sf bash /bin/sh
•When you're done with the install, you can revert to the system default with
sudo ln -sf dash /bin/sh
•There should be no need to change the script file 'shebangs'
Get Answers For Free
Most questions answered within 1 hours.