How do 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.

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

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.

Practical Unix and Internet Security Essential System Administration Unix System Administration Handbook Linux Security Cookbook
Purchase these excellent books on Unix security and administration at Amazon.com


Top 5 Free Networking Tools

Bookmark How do Unix Timestamps work?

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.