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