On Sun, 2009-09-20 at 16:51 -0500, Dale wrote:
> Alan McKinnon wrote:
> > On Sunday 20 September 2009 22:06:44 Dale wrote:
> >   
> >> Neil Bothwick wrote:
> >>     
> >>> On Sun, 20 Sep 2009 21:51:17 +0300, Nikos Chantziaras wrote:
> >>>       
> >>>> /bin/bash is also shown in htop even though bash isn't in any runlevel
> >>>> either ;)
> >>>>         
> >>> Not here.
> >>>       
> >> This is all I get for bash:
> >>
> >> r...@smoker / # ps aux | grep bash
> >> dale      7254  0.0  0.0   3044   572 ?        S    Sep19   0:00
> >> /bin/bash /usr/libexec/mozilla-launcher
> >> root      7704  0.0  0.0   1888   516 pts/0    S+   15:01   0:00 grep
> >> --colour=auto bash
> >> r...@smoker / #
> >>
> >> I guess Seamonkey uses it for something.  That is also all that shows up
> >> in htop as well.  Nothing else bash that I can find.
> >>     
> >
> > The mozilla launcher scripts spawn an instance of bash which then goes 
> > looking 
> > for the mozilla binaries and launches them. All perfectly normal.
> >
> > 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? 

Beginning to look that way.  I tried using konsole this morning and here
is what I got:

17423 pts/3    Sl     0:00 konsole
18951 pts/4    Ss     0:00  \_ /bin/bash
 2704 pts/4    R+     0:00      \_ ps axf

I have no idea why you don't get the same result.



Reply via email to