From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MpZ0u-0004LZ-2q for garchives@archives.gentoo.org; Mon, 21 Sep 2009 02:52:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82376E07D1; Mon, 21 Sep 2009 02:52:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4CF6BE07D1 for ; Mon, 21 Sep 2009 02:52:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id DD51965362 for ; Mon, 21 Sep 2009 02:52:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.327 X-Spam-Level: X-Spam-Status: No, score=-3.327 required=5.5 tests=[AWL=-0.728, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eFMIpfSJJrVr for ; Mon, 21 Sep 2009 02:52:19 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 0596467670 for ; Mon, 21 Sep 2009 02:52:17 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MpZ0f-0006ex-5W for gentoo-user@gentoo.org; Mon, 21 Sep 2009 04:52:13 +0200 Received: from adsl-69-234-176-172.dsl.irvnca.pacbell.net ([69.234.176.172]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Sep 2009 04:52:13 +0200 Received: from w41ter by adsl-69-234-176-172.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Sep 2009 04:52:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: runlevels and service list Date: Sun, 20 Sep 2009 19:51:50 -0700 Message-ID: References: <1253450052.10837.119.camel@rattus> <20090920205429.1a914d0f@krikkit.digimed.co.uk> <4AB68B54.6010505@gmail.com> <200909202210.12139.alan.mckinnon@gmail.com> <4AB6A3DA.1080506@gmail.com> <4AB6CB7C.6010409@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-176-172.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090920 Shredder/3.0pre In-Reply-To: <4AB6CB7C.6010409@gmail.com> Sender: news X-Archives-Salt: 6f1190c7-dcd8-41d8-a505-c121fc167675 X-Archives-Hash: c7f9dbb3f8d62033810be2123a90dbda On 09/20/2009 05:40 PM, Dale wrote: > 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. Okay, okay, Alan, you're right, I have not tried every linux distro out there, but when I was a linux noob I tried every one I could find. Back then that was Debian, SuSe, Red Hat, Mandrake (since morphed into something else), and very recently Ubuntu, just to see what all the fuss was about. (I'm sticking with gentoo.) All of those use(d) bash as the default shell, but may have switched while I wasn't looking. Bash *appears* to be the official shell of GNU, as its home page is hosted there: http://www.gnu.org/software/bash/ BTW, all of the above distros including gentoo are officially un-endorsed by GNU: http://www.gnu.org/philosophy/common-distros.html >> How did you type your 'ps aux' command? In an xterm window, or what? >> >> Here's a snippet from my ps axf: (I love that 'f' flag) >> >> 4682 tty1 S 0:00 xterm -bg rgb:db/e9/f9 -sb -fn 9x15 >> 4685 pts/0 Ss 0:00 \_ bash >> 4724 pts/0 S 0:00 \_ su >> 4729 pts/0 S 0:00 \_ bash >> 22427 pts/0 R+ 0:00 \_ ps axf >> > ...I did this in a Konsole within KDE... Ah, that was the answer I was looking for. I'm a bit surprised that Konsole doesn't invoke bash somehow. I'll investigate more tomorrow when I'm awake.