SHARE
Facebook X Pinterest WhatsApp

developerWorks: Preventing Race Conditions

Written By
thumbnail
Web Webster
Web Webster
Oct 12, 2004

[ Thanks to David A. Wheeler for this
link. ]

“Using a stolen password, Mallory managed to log into an
important server running Linux. The account was a very limited
account, but Mallory knew how to cause trouble with it. Mallory
installed and ran a trivial program with very odd behavior–it
quickly created and removed many different symbolic link files in
the /tmp directory, using a multitude of processes. (A symbolic
link file, also called a symlink, is simply a file that when
accessed redirects the requester to another file.) Mallory’s
program kept creating and removing many different symlinks pointing
to the same special file: /etc/passwd, the password file.

“One of the security precautions on this important server was
that every day it ran Tripwire–specifically, the older version
2.3.0. Tripwire is a security program that detects tampering of
important files. As Tripwire started up it tried to create a
temporary file, as many programs do…”


Complete Story

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

A Thorough Approach to Improve the Privacy and Security of Your Linux PC
Damien
Oct 24, 2024
Several Russian Maintainers Removed From Linux Kernel Due To Compliance Concerns
Senthil Kumar
Oct 23, 2024
OpenSSH Splits Again: New Authentication Binary Unveiled
Bobby Borisov
Oct 16, 2024
13 Best Free and Open Source Anti-Malware Tools
webmaster
Oct 14, 2024
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.