[techtalk] partitioning security (was lilo)

Andrew Wendt awendt at putergeek.com
Wed Jul 25 13:33:30 EST 2001


On July 25, 2001 03:23, coldfire wrote:
> sometimes the goal isn't to create a hardlink to a file and read it via
> the hardlink.  perhaps you know of a suid executable that creates
> temporary log/whatever files in /tmp (or even the users home directory).
> if you create a hardlink with the name of that temporary log/whatever file
> to another file for which you do not have write permissions .. well guess
> what, you have write permissions now.
>
> that's one of the main reasons that /tmp is normally mounted on it's own
> partition.  i think it should be standard to at least mount /home on a
> seperate partition as well.

What prevents the same thing from happening with a soft link?

TTFN
Andy




More information about the Techtalk mailing list