RSS Feed

How Unix Timestamps Work

Unix stores two times for every file, the last modification time of the file and the last access time of the file.

`ls -lT` displays the last modification time of files.

marker How Unix Timestamps Work

`ls -lTu` displays the last access time of files.

marker How Unix Timestamps Work

To edit these times, you will need a program like SaintStat or fix.c. These programs are normally packaged with rootkit’s.

You can write your own utility to modify timestamps fairly easily using the utime function of C or PERL.

The purpose of editing timestamps is usually to modify files without making them look as if they have been modified. This technique won’t fool a message digest algorithm like MD5. How Unix Timestamps Work

Follow Daniel Memetic on Google+
Leave a Reply

Post your comments and questions below, but please follow our commenting guidelines.


Path: Home > Unix > How Unix Timestamps Work