1 |
On 09/20/2009 02:51 PM, Dale wrote: |
2 |
> Alan McKinnon wrote: |
3 |
|
4 |
>> The reason you don't see bash in ps is because you are not running bash. I do, |
5 |
>> 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 |
How did you type your 'ps aux' command? In an xterm window, or what? |
18 |
|
19 |
Here's a snippet from my ps axf: (I love that 'f' flag) |
20 |
|
21 |
4682 tty1 S 0:00 xterm -bg rgb:db/e9/f9 -sb -fn 9x15 |
22 |
4685 pts/0 Ss 0:00 \_ bash |
23 |
4724 pts/0 S 0:00 \_ su |
24 |
4729 pts/0 S 0:00 \_ bash |
25 |
22427 pts/0 R+ 0:00 \_ ps axf |