[3300] in testers
Re: sgi 8.1.4: writable files on the root
daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Jun 26 22:49:48 1997
Date: Thu, 26 Jun 1997 22:49:42 -0400
From: Greg Hudson <ghudson@MIT.EDU>
To: Craig Fields <cfields@MIT.EDU>
Cc: testers@MIT.EDU
In-Reply-To: "[3216] in testers"
> /etc/named.local
> /etc/X0.hosts
These files are created in the public workstation cleanup section of
the athena rc script with:
cp /dev/null /etc/named.local
cp /dev/null /etc/X0.hosts
The Irix 5.3 /usr/bin/cp behaves in what appears to be a nonstandard
fashion: when you copy a file (in this case /dev/null), it defaults to
preserving the mode of the source file and doesn't pay attention to
the umask. If we do an rm -f and touch, it should work better.
Of course, we also have to figure out what to do to private machines
which won't run the public workstation cleanup.