[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NotLoggingdetails when user changes system time with date command
From: |
Philip Rowlands |
Subject: |
Re: NotLoggingdetails when user changes system time with date command |
Date: |
Wed, 9 Apr 2008 13:25:47 +0100 (BST) |
On Wed, 9 Apr 2008, Chinnakka K Batakurki wrote:
When I changed the Linux system time by using date -s <time> command,
the info is not logged to /var/log/wtmp
wtmp is a file for recording user login/logout activity.
whereas when I change the Hardware clock with hwclock command, it is
logged to : /etc/adjtime
Certain uses of hwclock will write /etc/adjtime to record clock drift
statistics.
Could you please let me know is there any setting needs to be done to
get the logs related to system date/time
I'm not sure what sort of logging you'd like to see. Small,
single-purpose commands like coreutils don't generally write logs;
perhaps the logger(1) command would suit your purposes?
Cheers,
Phil