Red Hat Bugzilla – Bug 19975
who FROM field missing
Last modified: 2007-04-18 12:29:33 EDT
The output of who shows the FROM field of the user blank.
Confirmed. It shows the FROM location when using the -l switch, though.
Add -l if you want to see the FROM field. I'm loathe to change the default
behavior of existing
commands when there are a adequate workarounds. Here's a bash alias for example:
alias who="/usr/bin/who -l"
RH 6.0 who(1) shows FROM location.
RH 6.2 who(1) does not.
From man who:
-l, --lookup attempt to canonicalize hostnames via DNS
So "-l" is not a "show FROM field" switch.
I could bet this is a bug in newer who(1) versions.