tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: bad wtmp and runaway accounting
@ 2001-04-20 19:10 Chris Loken
  0 siblings, 0 replies; only message in thread
From: Chris Loken @ 2001-04-20 19:10 UTC (permalink / raw)
  To: tru64-unix-managers


Great list! First time on and I had the answer within minutes...

PROBLEM:

My problem was that my wtmp file seemed to become corrupted very quickly
even after completely wiping it out and starting over. E.g.

cat /dev/null > /var/adm/wtmp   (to wipe-out the old wtmp)

/usr/sbin/acct/acctcon1  </var/adm/wtmp
bad wtmp: offset 1568.
bad record is:          =t-     3905517474781593600     Wed Nov 26
17:04:48 2031 EST 


SOLUTION: 

My version of ssh was compiled under V4.x and since the wtmp format has
changed from V4 to V5, my ssh is writing old-format records. I've
verified that this is the problem and am sure that once I recompile shh
this will go away. 

THANKS: Paul Sand, Richard Fairfield, and Peter Wuestner all appear to
have run into this before and immediately recognized the source of the
problem.

   Chris

----------------------------------------------------
Chris Loken                     Phone: 416-978-5619
Computing Facility Manager      Fax:   416-978-3921
Canadian Institute for Theoretical Astrophysics

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

only message in thread, other threads:[~2001-04-20 19:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-20 19:10 SUMMARY: bad wtmp and runaway accounting Chris Loken

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