home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!rayssd!galaxia!animato!rlcarr
- From: rlcarr@animato.network23.com (Rich Carreiro)
- Newsgroups: comp.os.minix
- Subject: AmigaMINIX problems with accounting files...
- Distribution: world
- Message-ID: <rlcarr.06th@animato.network23.com>
- X-NewsSoftware: GRn 1.16f (10.17.92) by Mike Schwartz & Michael B. Smith
- Date: 9 Nov 92 21:05:56 EDT
- Organization: The Other Side of Life
- Lines: 66
-
- Hello. I am running AmigaMINIX 1.5.10.2 with Mark Newton's serial fixes
- (which I doubt are involved here) and am having trouble with "last."
-
- First, I'll start with an example of the output I get from last:
- ---- begin "bad" last output ----
- root tty3 Mon Nov 9 20:41 still logged in
- jtidwell tty1 Mon Nov 9 20:41 - ??:?? (00:00)
- ast tty2 Mon Nov 9 20:41 - ??:?? (00:00)
- rlcarr tty0 Mon Nov 9 20:41 still logged in
- reboot ~ ??? ??? ?? ??:??
-
- wtmp begins ??? ??? ?? ??:??
- ---- end "bad" last output ----
-
- As you can see, last cannot tell when /usr/adm/wtmp begins, and also it is
- unable to compute logout times and the length of login.
- What is more bizarre is that if I do
- >/etc/utmp
- >/usr/adm/wtmp
- to clear out the accounting files, then last will properly report the
- beginning time of wtmp, but *as soon as* a user logs in, the "wtmp begins"
- line goes screwy, and again, logouts and login lengths are hosed.
-
- As I am not terribly familiar with the format of utmp and wtmp files,
- I was hoping that either someone has had this problem and has fixed and/or
- could take a look at the utmp and wtmp files that were in existence when
- the above output was created. Since they are very small, I am enclosing
- them here:
- ---- begin uuencoded utmp file ----
- begin 777 badutmp
- M<FQC87)R !T='DP='1Y, !0 !RK^S.$ '1T>3%TX
- M='DQ * &___-8P ='1Y,G1T>3( MX
- F ;__\V3<F]O= !T='DS='1Y,P !< !RK^S1< X
- X
- end
- ---- end uuencoded utmp file ----
-
- ---- begin uuencoded wtmp file ----
- begin 777 badwtmp
- M !T='DQ='1Y,0 $8 "/__S'T '1T>3%TX
- M='DQ 1@ &___,?0 ='1Y,W1T>3, !'X
- M C__\R# !T='DS='1Y,P $< !O__S(0 X
- M '1T>3!T='DP 2P (___,J ='1Y,'1T>3 X
- M !+ ;__\RH<F5B;V]T !^?@ ?@ O__S-T X
- M '1T>3!T='DP % (___,W0 ='1Y,'1TX
- M>3 4 ;__\S= !T='DQ='1Y,0 !4 X
- M"/__S-T '1T>3%T='DQ %0 &___,W0 X
- M='1Y,G1T>3( 6 C__\S> !T='DR='1Y,@ X
- M !8 !O__S-X '1T>3-T='DS %P (___,W@ X
- M ='1Y,W1T>3, 7 ;__\S><FQC87)R !T='DP='1YX
- M, !0 !RK^S.%A<W0 '1T>3)T='DR %@ 'X
- M*O[-"FIT:61W96QL='1Y,71T>3$ 5 <J_LT1<F]O= !TX
- M='DS='1Y,P !< !RK^S1< '1T>3%T='DQ X
- M * (___-8P ='1Y,71T>3$ H ;__\UC X
- M !T='DR='1Y,@ "T "/__S9, '1T>3)T='DRX
- 0 +0 &___-DP X
- X
- end
- ---- end of uuencoded wtmp file ----
-
- Thanks for any help you can render -- it will be greatly appreciated!
-
- --
- Rich Carreiro Home: (401)841-8514
- rlcarr@animato.network23.com
- uunet.uu.net!animato!rlcarr
-