?
Solved

Touch and Timestamps

Posted on 1998-04-06
2
Medium Priority
?
324 Views
Last Modified: 2010-04-21
I know that touch is used to change the timestamp of a file, but why is this often linked to security considerations? I mean, simply being able to change the timestamp of a file (whether or not you own it) can't give any kind of unwanted control over the file, can it?
0
Comment
Question by:vexil
2 Comments
 
LVL 1

Accepted Solution

by:
Talence earned 150 total points
ID: 2009086
Giving files another timestamp than the time they were just changed can be used in an attempt to cover up tracks. Some
paranoia admin/scripts may be fooled into thinking the file
has not been edited, etc. This is for the case you have already
obtained control. On the other hand, setting 'crazy' timestamps
on files that certain programs depend on _may_ cause some interesting side effects.

0
 

Author Comment

by:vexil
ID: 2009087
Thanks, Talence.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month12 days, 15 hours left to enroll

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question