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 _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils