Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 1996 08:53:31 +0200 (MET DST)
From:      Guido van Rooij <Guido.vanRooij@nl.cis.philips.com>
To:        tom@uniserve.com (Tom Samplonius)
Cc:        coredump@nervosa.com, freebsd-security@FreeBSD.ORG
Subject:   Re: [linux-security] Things NOT to put in root's crontab (fwd)
Message-ID:  <199605220653.IAA23614@spooky.lss.cp.philips.com>
In-Reply-To: <Pine.BSF.3.91.960521203607.17971A-100000@haven.uniserve.com> from "Tom Samplonius" at May 21, 96 08:54:18 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Tom Samplonius wrote:
> 
> 
> On Tue, 21 May 1996, Chris J. Layne wrote:
> 
> > I think this applies to our cleanup of /tmp in /etc/rc
> 
>   I think it doesn't.
> 
>   Our rm removes links, not files pointed to by links.  So:
> 
> cd /tmp
> ln -s /etc/passwd thing
> rm thing
> 
> will remove the link, not /etc/passwd.
> 
>   We are not dependant on find to produce a "valid" list of files, so 
> that rm does not remove something important.
> 

Besides, our find contains a -type, which also does not find symlinks (
as long as type is not l). Furthermore, the find is commented out
by default stating it is not secure.

-Guido



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605220653.IAA23614>