misc/76089: The "-n" option in /usr/bin/w is broken
Edwin Groothuis
edwin at mavetju.org
Tue Jan 11 02:40:28 PST 2005
The following reply was made to PR misc/76089; it has been noted by GNATS.
From: Edwin Groothuis <edwin at mavetju.org>
To: Jesper Wallin <jesper at hackunite.net>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: misc/76089: The "-n" option in /usr/bin/w is broken
Date: Tue, 11 Jan 2005 21:40:13 +1100
> The "-n" (do not resolve hosts) in /usr/bin/w seems to be broken in 5.3 .. works fine in 5.2.1 and 4.10
I think it has to do with the way it's logged in utmp:
[/usr/src/usr.bin/w] edwin at k7>uname -a
FreeBSD k7.mavetju 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #8: Wed Dec 15 16:58:01 EST 2004 edwin at k7.mavetju:/usr/src-5.2.1/sys/i386/compile/k7 i386
[/usr/src/usr.bin/w] edwin at k7>last -20
edwin ttypp 203.220.9.178 Tue Jan 11 21:32 still logged in
edwin ttypt 203.220.9.178 Mon Jan 10 14:27 - 15:07 (00:40)
edwin ttyps 203.220.9.178 Mon Jan 10 14:14 - 14:54 (00:39)
[/usr/src/usr.bin/w] root at mag>uname -a
FreeBSD mag.barnet.com.au 5.3-RELEASE FreeBSD 5.3-RELEASE #2: Mon Dec 13 13:18:03 EST 2004 root at mag.barnet.com.au:/usr/src/sys/i386/compile/mag i386
root ttyp0 edwin-3.int Tue Jan 11 21:30 still logged in
root ttyp0 tim.direct.int Tue Jan 11 09:49 - 09:49 (00:00)
Edwin
--
Edwin Groothuis | Personal website: http://www.mavetju.org
edwin at mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/
More information about the freebsd-bugs
mailing list