[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Corrupt utmp entries - how to clean up utmp?



For some unknown reason I have a corrupt /var/run/utmp. Running 'who' gives
the following output:

einstein:rogalsky> who
joerg    :3       Feb 11 16:09
schuetz  ttyp2    Mar 10 09:52 (:0.0)
schuetz  :0       Mar 10 09:52
schuetz  ttyp3    Mar 10 09:52 (:0.0)
schuetz  :2       Feb 25 14:04
rogalsky ttyp6    Mar 10 14:03 (newton.physik.uni-erlangen.de)

But the two entries 
joerg    :3       Feb 11 16:09
schuetz  :2       Feb 25 14:04
are outdated and no one is logged in on :2 or :3.

How can I get rid of them without rebooting the system?

Olaf Rogalsky

                                  \\|//
                                  (. .)
+-----------------------------oOOo-(_)-oOOo----------------------------+
I Dipl. Phys. Olaf Rogalsky                 Institut f. Theo. Physik I I
I Tel.: 09131 8528440                       Univ. Erlangen-Nuernberg   I
I Fax.: 09131 8528444                       Staudtstrasse 7 B3         I
I rogalsky@theorie1.physik.uni-erlangen.de  D-91058 Erlangen           I
+----------------------------------------------------------------------+


Reply to: