tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: "last" command does not give updated logs...
@ 1997-03-19  2:34 Cenon B.C. Marana, Jr.
  0 siblings, 0 replies; only message in thread
From: Cenon B.C. Marana, Jr. @ 1997-03-19  2:34 UTC (permalink / raw)
  To: tru64-unix-managers


Thanks to the following who immediately went to the rescue:

Miguel Avillez 				<mavillez@ast.man.ac.uk>
Simon Tardell 				<tardell@particle.kth.se>
Ing. Rosa Isela Gonzalez Alvarez 	<rgonzale@uacj.mx>

My question:

>It seems that when the "last" command is executed, it still gives an
>*outdated* log... however, when fingering a user, the last login entry is
>updated...

<finger marie>
>Login name: marie                       In real life: The Cookie Monster!
>Last login Sun Mar 16 06:24 on ttyp2 from 165.220.28.234

<last|pg>
>tpdacles  ttyp5        165.220.29.41    Sat Mar 08 22:24   still logged in
>tpdacles  ttyp5        165.220.29.41    Sat Mar 08 22:20 - 22:23  (00:02)
>filmer    ttyp6        ppp07.mn.usc.edu Sat Mar 08 22:17   still logged in
>msinco    ttyp5        ppp06.mn.usc.edu Sat Mar 08 22:09 - 22:17  (00:08)

>Any ideas on how "last" would give the *updated* log? Also, could anyone
>send me the file permissions for utmp and wtmp at /usr/adm directory?


The most common way to go around this problem is to rename the
/var/adm/wtmp file into something else and then touching it (touch wtmp)
-- to create a new one... and that did the trick.

Also, here are the permissions for the utmp and wtmp files.

-rw-r--r--   1 root     adm         5148 Mar 16 11:17 utmp
-rwxr-xr-x   1 adm      adm       462540 Mar 16 11:17 wtmp

 
Best regards,
Bonn
:)

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

only message in thread, other threads:[~1997-03-19  2:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-19  2:34 SUMMARY: "last" command does not give updated logs Cenon B.C. Marana, Jr.

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