From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 24 02:16:09 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34745106564A for ; Mon, 24 Nov 2008 02:16:09 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id F3DD78FC14 for ; Mon, 24 Nov 2008 02:16:08 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1812618rvf.43 for ; Sun, 23 Nov 2008 18:16:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=0+fjTc9uULkcfVKx/mVI2mT3xPP0IzOJDhArSqFvk+s=; b=dYJFUZnhZ1rVRRY44dzX9BEFGSh1+ecZyW7bmeYniEHSvru3fj/8wPFr2QZ7Elrz2J z0oAjSs3CF3ZiUl4fkgtyNqawZxPs0U83ypEiEFybpEGEkTzcu7OM9bp3Mdao0QlfZa8 QnrjcliGM690J3Uu1I3gejOXbjMrCRKMyTT5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=LwiqdhLXZo9ICC+PE/xrnmGnlcjA5aqN8fvK3vfXOPqRBbtDTkyvZG8XCulLJt3d2U GqdY4ICTcYtGQ1ur3WcG1M2PHDftqm7ZSa/W/FiakWQpihOwEf7PoqOoUgVBg21s5TJe z9E/dBHfcvybDQi5QkJXVKBYNjOjN33RcIRz8= Received: by 10.142.254.6 with SMTP id b6mr1419826wfi.157.1227492967606; Sun, 23 Nov 2008 18:16:07 -0800 (PST) Received: from ?192.168.10.7? (adsl-76-254-6-199.dsl.pltn13.sbcglobal.net [76.254.6.199]) by mx.google.com with ESMTPS id 9sm6190380wfc.36.2008.11.23.18.16.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 23 Nov 2008 18:16:07 -0800 (PST) Message-Id: <2B28B3C6-FC8F-4F00-A5CB-241DE2B8B00A@gmail.com> From: Garrett Cooper To: Pegasus Mc Cleaft In-Reply-To: <200811240152.13032.ken@mthelicon.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Sun, 23 Nov 2008 18:19:40 -0800 References: <200811240152.13032.ken@mthelicon.com> X-Mailer: Apple Mail (2.929.2) Cc: hackers@freebsd.org Subject: Re: who on FreeBSD 8.0 - AMD64 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2008 02:16:09 -0000 On Nov 23, 2008, at 5:52 PM, Pegasus Mc Cleaft wrote: > Hello Hackers, > > I noticed something the other day that I thought was a bit weird. I > had a > high amount of HD activity, so I wanted to see who was on my > machine. I tried > using the "who" command and received no information (not even for > myself). > > I have found that various methods of signing in cause different > behavior, > presumably due to being assigned different terminal names. For > instance: If I > open an Xterm, or telnet into the machine, I will not see any > information > (Although a who -q does), however, if I SSH or sign in on the > console, I get > the results I was expecting. > > Am I missing something or being a bit thick? (please see below for > examples) > > Peg > > [through a xterm] > feathers$ who > feathers$ > > [through a telnet] > feathers$ telnet localhost > Trying ::1... > Connected to localhost. > Escape character is '^]'. > Trying SRA secure login: > User (XXXXXX): > Password: > [ SRA accepts you ] > > FreeBSD/amd64 (feathers.peganest.com) (pts/2) > > You have new mail. > feathers$ who > feathers$ > > [Through a SSH connection] > titan$ ssh feathers > Enter passphrase for key '/home/XXXXX/.ssh/id_rsa': > Last login: Mon Nov 24 01:45:08 2008 from localhost > Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 > The Regents of the University of California. All rights > reserved. > > FreeBSD 8.0-CURRENT (FEATHERS) #1: Sat Nov 22 16:07:04 UTC 2008 > > > feathers$ > feathers$ who > XXXXX pts/3 Nov 24 01:47 (XXX.XXX.XXX.XXX) > feathers$ `who' works perfectly fine for me on CURRENT/AMD64 synced up 3 days ago, via an ssh terminal. Can you provide more details, e.g. when was your last sync date, did you blow away your utmp directory, etc? Thanks, -Garrett