Subject: Re: Look at this ... my wtmp file
To: Jacques Hugo <jacques@linkage.ctech.ac.za>
From: Chris G Demetriou <Chris_G_Demetriou@BALVENIE.PDL.CS.CMU.EDU>
List: netbsd-help
Date: 11/09/1995 16:20:48
> Can someone please tell me why this ended up in my wtmp file, is it a
> bug or a hole ?
>
> --------------
> date } Thu Nov 9 00:40 still logged in
> date | Thu Nov 9 00:39
> [ ... ]
as reported by "man wtmp":
In the event of a date change, a shutdown or reboot, the following items
are logged in the wtmp file.
reboot
shutdown A system reboot or shutdown has been initiated. The charac-
ter `~' is placed in the field ut_line, and reboot or
shutdown in the field ut_name. (See shutdown(8) and
reboot(8).)
date The system time has been manually or automatically updated.
(See date(1).) The command name date is recorded in the
field ut_name. In the field ut_line, the character `|' indi-
cates the time prior to the change, and the character `{' in-
dicates the new time.
cgd