Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2008 18:19:40 -0800
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        Pegasus Mc Cleaft <ken@mthelicon.com>
Cc:        hackers@freebsd.org
Subject:   Re: who on FreeBSD 8.0 - AMD64
Message-ID:  <2B28B3C6-FC8F-4F00-A5CB-241DE2B8B00A@gmail.com>
In-Reply-To: <200811240152.13032.ken@mthelicon.com>
References:  <200811240152.13032.ken@mthelicon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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)
> 	<SNIP>
> 	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
> <SNIP>
>
> 	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2B28B3C6-FC8F-4F00-A5CB-241DE2B8B00A>