On Monday 21 September 2009 02:11:51 walt wrote: > On 09/20/2009 02:51 PM, Dale wrote: > > Alan McKinnon wrote: > >> The reason you don't see bash in ps is because you are not running bash. > >> I do, but you obviously don't. What shell does root use per /etc/passwd? > > > > This one: > > > > root:x:0:0:root:/root:/bin/bash > > > > Looks like bash. ;-) I assume this is the default because I have never > > changed this file. Is there something screwy with my system? > > In linux bash is the default shell (even sh is a symlink to bash) but in > other OS's other default shells prevail.
Correction: In *Gentoo* it is the default shell. A distro is free to choose whatever default shell it feels like, as is any other OS. There are distros out there that do not default to bash. You simply cannot make a blanket statement like "In linux bash is the default shell" as it's simply not true. Let's be accurate when we make statements, OK? If devs wrote code like that it would not run, and if you typed commands with that level of slap-dashedness they would frequently fail. -- alan dot mckinnon at gmail dot com