who on FreeBSD 8.0 - AMD64
Garrett Cooper
yanefbsd at gmail.com
Sun Nov 23 18:16:09 PST 2008
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
More information about the freebsd-hackers
mailing list