From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079072816001.tru64-unix-managers.marc@archive.invalid> From: Dave Wolinski Date: Thu, 09 Sep 1999 23:29:54 +0000 To: tru64-unix-managers Subject: SUMMARY: Tru64 Unix 5.0 and /var/adm/utmp X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079072816001 The original question is included below. In Tru64 Unix 5.0, structures in /usr/include/{utmp.h,utmpx.h,lastlog.h} have changed in order to comply with other Unix standards. After tips from the respondents, I realized that only users which were connecting via ssh were not showing up in w/who/users/finger output. Users connecting via telnet showed up with no problem. Apparently each server demon is responsible for updating utmp when a user logs in. Therefore the solution to my problem was to simply rebuild the sshd server so that it used the new include files listed above. The newly-built sshd server now correctly updates /var/adm/utmp. (Presumably the telnetd server shipped with 5.0 already reflects these changes.) -----> If you upgrade to Tru64 5.0 and you use ssh, you must rebuild the ssh binaries in order to make user accounting work. Thanks to the following people who responded with useful comments: Sean O'Connell Tymm Twillman ------------------------------------------------------------------------------- David Wolinski wolinski@umich.edu University of Michigan High Energy Physics ------------------------------------------------------------------------------- > Hello, > > We recently did an update installation from 4.0f -> 5.0. I now > notice the following problem. > > Symptom: > > Commands which use /var/adm/utmp (e.g. w, users, who, etc.) only report > a subset of the true number of users currently logged in. In addition, > these commands now produce an audible "beep" during their output. > > I can recreate the problem by doing: > > 1. Delete, then touch /var/adm/utmp, /var/adm/wtmp. > 2. Let several (e.g. 10) users log in (and remain logged in). > 3. Then w/users/who/etc. only shows a few (e.g. 3) of these users. > > Rebooting the system doesn't fix the problem. So far, Compaq has been > unable to reproduce it.