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 <gentoo-user+bounces-100605-garchives=archives.gentoo.org@lists.gentoo.org>) id 1MpWxF-0004Om-80 for garchives@archives.gentoo.org; Mon, 21 Sep 2009 00:40:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B24E3E074F; Mon, 21 Sep 2009 00:40:31 +0000 (UTC) Received: from mail-yx0-f174.google.com (mail-yx0-f174.google.com [209.85.210.174]) by pigeon.gentoo.org (Postfix) with ESMTP id 95086E074F for <gentoo-user@lists.gentoo.org>; Mon, 21 Sep 2009 00:40:31 +0000 (UTC) Received: by yxe4 with SMTP id 4so2887398yxe.32 for <gentoo-user@lists.gentoo.org>; Sun, 20 Sep 2009 17:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=6Lafw29/RU7n9gv0bOVBnC+Wd5ZpbhOEo9v0Hhx9pJ0=; b=onMbV7HEgaBqvKJ8OYYV8oD+fTwzJ2bmQH1NHhk2Ly0Bb/8+HAO8oV0F2utiZkyqi9 kS3xUJQTIs096b0WCBnTt91SKxdouNdiEql0Tm3WRR+YRhNz3KjjTd+7m/vV8bYlpMBS TzE0Fe1Q30Hc5NI1XoZRLf2QwbW0Zz9iRBEwY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=MQnhgDEsjOMM56A/XrKZEc8xruZC5nWq7yrRrUNVWzgdszjNEgfz5c1IBqZfsg48q7 4WSrkE6ivjRGwPZZnCIhNPk19KHFOX8VQB0UipzS+4BugY8ggVfN3pMpOZiZAWt6F5l+ ivvAWlqo8hi0wWvqUCzSte+uCLAjIkItAozs8= Received: by 10.101.80.5 with SMTP id h5mr3719884anl.10.1253493631347; Sun, 20 Sep 2009 17:40:31 -0700 (PDT) Received: from ?192.168.1.1? (adsl-144-216-98.jan.bellsouth.net [70.144.216.98]) by mx.google.com with ESMTPS id 23sm1825930yxe.4.2009.09.20.17.40.29 (version=SSLv3 cipher=RC4-MD5); Sun, 20 Sep 2009 17:40:30 -0700 (PDT) Message-ID: <4AB6CB7C.6010409@gmail.com> Date: Sun, 20 Sep 2009 19:40:28 -0500 From: Dale <rdalek1967@gmail.com> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.22) Gecko/20090905 SeaMonkey/1.1.17 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: runlevels and service list 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> <h96gc7$j97$1@ger.gmane.org> In-Reply-To: <h96gc7$j97$1@ger.gmane.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: d98b5b41-a50d-4527-81c7-d40c7e9c7875 X-Archives-Hash: d1ddf0e674ad915f0f7a836c25f8a555 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. > > 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 used the command ps aux. I think that lists ALL processes. I usually use grep to filter them out. This is what I got tho: root@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 root@smoker / # Obviously the bottom one is the command I typed in. I did this in a Konsole within KDE. I don't got to a actual Console to much. Note the K and the C on those. Dale :-) :-)