tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Tru64 Unix 5.0 and /var/adm/utmp
@ 1999-09-09 23:29 Dave Wolinski
  0 siblings, 0 replies; only message in thread
From: Dave Wolinski @ 1999-09-09 23:29 UTC (permalink / raw)
  To: tru64-unix-managers

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-09-09 23:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-09 23:29 SUMMARY: Tru64 Unix 5.0 and /var/adm/utmp Dave Wolinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox