On Tuesday 29 June 2004 14:04, Jerry Feldman wrote:
IMHO, the primary root shell (on Linux and Unix) should be a Bourne derived shell (sh or bash).
Is there some strong reason to do that ? I mean, what is the real problem doing that ? tcsh is good as bash from this point of view, isn't ? besides historical reasons, I can't see any problem in using another shell. I change to root only as need, to do administrative tasks, and as root, I like to have the benefits from that particular shell.
That said, log in as root, use the chsh command: chsh -s /bin/tcsh root
Yeaahh ! It worked !
That should work for you. I did that and subsequently logged in as root, and the entry in /etc/password was changed correctly.
BTW: What do you mean by "standard Linux"?
In a "standard" linux (Solaris, SunOS, RedHat, Fedora, Conectiva), changing the 7th (the last one) field of /etc/passwd, you change the shell. Try your self ! On SuSE, changing the shell field by a direct edit on /etc/passwd you won't change the shell ! I triple check that before post this message.... Anyway, thanks for your time and winner answer :-) best regards,