On bookworm who (GNU coreutils 9.1) operates more or less as I have
expected it to operate for several decades: it prints current logins.
E.g.:

charles@hawk:~$ who
charles  tty7         2025-03-30 11:31 (:0)
charles  pts/35       2025-03-27 20:13 (192.168.100.47)
root     pts/36       2025-03-27 21:48 (192.168.100.47)
charles@hawk:~$

On trixie who (GNU coreutils 9.5) gives me a long list of logins, most
of which predate the most recent reboot. "who -u", similarly.

How do I get only the current logins?

Also, who on bookworm works fine with no arguments. who on bookworm
requires the file to use in order to get any useful output at all,
e.g.: "who -Hu /var/log/wtmp". This might be a bug.

Finally, I see that bug #798910, "coreutils: /usr/bin/who --lookup does
not look up ip addresses in dns", is still outstanding and a bit
annoying. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798910

Thank you.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Reply via email to