Once a friend of mine (who is an experienced Unix/Linux user) told me that setting root's shell to something other than sh (i.e bash or zsh) might create problems, because some script might assume that the shell is sh and do something weird.
However, I think Ubuntu have default root shell set to bash, and Gentoo uses bash too. Can somebody bust the myth?
bash. I booted in single user mode to fix, but it only worked because/bin/shwas still linked toFBSD's fork ofbourneand notbash. – gvkv Oct 03 '10 at 03:32zshand somehow/usris damaged I will have problem? but my system have/bin/shpointing to/bin/bashandbashitself, why wouldn'tshbe affected? – phunehehe Oct 03 '10 at 10:52zshshould not be in/usr/bin/if it is it was installed wrong. all shells should be in/bin– xenoterracide Oct 23 '10 at 23:18/binbut keeps some files in/usr/share. Also I clearly stated that problem is during login during boot (when some service fails). – Maja Piechotka Oct 24 '10 at 23:54root-zshorroot-bashorroot-tcshorroot-fishor whatever shell you're using, and wow suddenly the user name self-describes what shell you're getting, serves as a nice hint cluing in people who don't know this pattern about what's going on, doesn't conflict with any other reasons you might have for alternative root aliases, and generalizes if you ever want to set up multiple alternate shell login options. – mtraceur Jul 30 '22 at 14:56