Re: NotLoggingdetails when user changes system time with date command

2008-04-09 Thread Philip Rowlands

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


NotLoggingdetails when user changes system time with date command

2008-04-09 Thread Chinnakka K Batakurki

Hi,

When I changed the Linux system time by using date -s time command, the
info is not logged to /var/log/wtmp

whereas when I change the Hardware clock with hwclock command, it is logged
to : /etc/adjtime

Could you please let me know is there any setting needs to be done to get
the logs related to system date/time

Thanks a lot!

Regards
---
Chinnakka Batakurki
Systems Programmer,
IBM Internet Security Systems,
IBM India Private Limited,
FTP - 4 - 39, EPIP (Whitefield) Industrial Area, Bangalore - 560066
Tel: +91-80-2266 9885
Mob: +91-9845704118
Email: [EMAIL PROTECTED]
Mobile: +91-9845704118



___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils