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/sh
was still linked toFBSD
's fork ofbourne
and notbash
. – gvkv Oct 03 '10 at 03:32zsh
and somehow/usr
is damaged I will have problem? but my system have/bin/sh
pointing to/bin/bash
andbash
itself, why wouldn'tsh
be affected? – phunehehe Oct 03 '10 at 10:52zsh
should 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/bin
but 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-zsh
orroot-bash
orroot-tcsh
orroot-fish
or 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