Solved

Touch and Timestamps

Posted on 1998-04-06
2
304 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
Talence earned 50 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

739 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