Comment 10 for bug 16700

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 4 May 2005 10:52:44 +0100
From: Colin Watson <email address hidden>
To: martin f krafft <email address hidden>
Cc: <email address hidden>
Subject: Re: visudo: please use /tmp or other location for temporary file

On Fri, Nov 26, 2004 at 11:38:46PM +0100, martin f krafft wrote:
> Package: sudo
> Version: 1.6.7p5-2
> Severity: minor
>
> visudo creates and uses /etc/visudo.tmp. While this may or may not
> be subject to race conditions, a temporary file certainly does not
> belong into /etc. Please use /tmp or $TMPDIR instead.

We have to be a bit careful here, I think; visudo currently issues a
warning if the temporary file is on a different filesystem.

--
Colin Watson [<email address hidden>]