Hi, >>>>> On Wed, 13 Jan 2010 20:42:54 +0100 >>>>> Ed Schouten <ed_at_80386.nl> said: ed> I just made various commits to FreeBSD HEAD to remove our old user ed> accounting database interface (see utmp(5)) and replace it by the POSIX ed> standardized utmpx interface (see getutxent(3)). This means we just got ed> rid of some annoyances that are as old as the FreeBSD project itself: Thank you for a great job! ed> - Hostnames were originally restricted to 16 bytes, which is way too ed> short for your average hostname generated by your ISP, but also for ed> IPv6 addresses, which are at most 32 + 7 = 39 characters. At last, we can know the host where login from using IPv6. Unfortunately, w(1) shows no entry at 2nd login. It seems logout breaks utx.lastlogin and utx.active. Any idea? ume_at_ameno:~% ssh yoshino.mahoroba.org Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 9.0-CURRENT (YOSHINO) #0: Thu Jan 14 16:03:58 JST 2010 Welcome to FreeBSD! 10:48PM up 27 mins, 1 user, load averages: 0.07, 0.28, 0.39 ume_at_yoshino:~% w 10:48PM up 27 mins, 1 user, load averages: 0.07, 0.28, 0.39 USER TTY FROM LOGIN_at_ IDLE WHAT ume pts/0 ameno.mahoroba.org 10:48PM - w ume_at_yoshino:~% ll /var/run/utx.active /var/log/utx.l* -rw-r--r-- 1 root wheel 197 Jan 14 22:48 /var/log/utx.lastlogin -rw-r--r-- 1 root wheel 89 Jan 14 22:48 /var/log/utx.log -rw-r--r-- 1 root wheel 197 Jan 14 22:48 /var/run/utx.active ume_at_yoshino:~% logout Connection to yoshino.mahoroba.org closed. ume_at_ameno:~% ssh yoshino.mahoroba.org Last login: Thu Jan 14 22:48:56 2010 from ameno.mahoroba.org Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 9.0-CURRENT (YOSHINO) #0: Thu Jan 14 16:03:58 JST 2010 Welcome to FreeBSD! 10:49PM up 27 mins, 0 users, load averages: 0.05, 0.26, 0.38 ume_at_yoshino:~% w 10:49PM up 27 mins, 0 users, load averages: 0.05, 0.26, 0.38 USER TTY FROM LOGIN_at_ IDLE WHAT ume_at_yoshino:~% ll /var/run/utx.active /var/log/utx.l* -rw-r--r-- 1 root wheel 4294967493 Jan 14 22:49 /var/log/utx.lastlogin -rw-r--r-- 1 root wheel 201 Jan 14 22:49 /var/log/utx.log -rw-r--r-- 1 root wheel 4294967493 Jan 14 22:49 /var/run/utx.active Sincerely, -- Hajimu UMEMOTO _at_ Internet Mutual Aid Society Yokohama, Japan ume_at_mahoroba.org ume_at_{,jp.}FreeBSD.org http://www.imasy.org/~ume/Received on Thu Jan 14 2010 - 13:01:34 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC