public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hemmann, Volker Armin" <volker.armin.hemmann@tu-clausthal.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How many GB for / partition?
Date: Sat, 18 Feb 2006 00:48:42 +0100	[thread overview]
Message-ID: <200602180048.42750.volker.armin.hemmann@tu-clausthal.de> (raw)
In-Reply-To: <20060217221508.GA29784@nexon>

On Friday 17 February 2006 23:15, Patrick Börjesson wrote:


> > an attacker does not need a place, where everybody can write. He just
> > needs SOME place, where he can write - like the home-directory of the
> > user he just corrumpted.
>
> What's to say that the only way to get access to a system is through
> hacking a user account?

if he hacks apache, he is the httpd user, if he hacks sendmail, he is 'mail'
If you are not a user, you are not logged in.
IOr in reverse, as soon, as you can do anything on a box, you are a user in 
one way or another.
> Exploits have existed (and probably does, if not in older code) that
> uses /tmp, and the ability to execute things from that location, to get
> access to more privileges.
> So having /tmp mounted as noexec is a good security measure from these
> kind of exploits.

and I bet same exploits would work from /var/spool.

>
> > Also, he can disrupt your system, by just filling up /tmp. No code needed
> > for that.
>
> And that is the exact reason for keeping "writable by all" locations on
> separate filesystems, so that the damage can be limited and not make the
> entire system unusable if someone decides to fill up a filesystem.

if / is huge, it is much harder to fill up /tmp
And if he can fill up /tmp completly, you are hosed anyway. So having it on 
its own partition does not save you from anything. It only makes it more 
likely, that at some point /tmp is too small and you need to make it bigger.

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-02-17 23:53 UTC|newest]

Thread overview: 92+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-16 12:19 [gentoo-user] How many GB for / partition? Izar Ilun
2006-02-16 12:34 ` Daniel da Veiga
2006-02-16 12:42 ` Neil Bothwick
     [not found]   ` <7ae6f8f0602160450i3d0b3973x437e82ff45c8606e@mail.gmail.com>
2006-02-16 12:51     ` Izar Ilun
2006-02-16 13:06       ` Alexander Skwar
2006-02-16 13:47         ` Neil Bothwick
2006-02-16 14:39           ` Alexander Skwar
2006-02-16 16:17             ` Neil Bothwick
2006-02-16 17:46               ` Alexander Skwar
2006-02-16 18:00                 ` kashani
2006-02-16 20:11                 ` Neil Bothwick
2006-02-16 20:24                   ` Hemmann, Volker Armin
2006-02-17  7:52                   ` Alexander Skwar
2006-02-17  9:41                     ` Neil Bothwick
2006-02-17  1:59           ` Zac Slade
2006-02-17  9:38             ` Neil Bothwick
2006-02-16 14:19         ` Hemmann, Volker Armin
2006-02-16 14:45           ` Alexander Skwar
2006-02-16 15:34             ` Hemmann, Volker Armin
2006-02-16 16:18               ` Alexander Skwar
2006-02-16 18:46                 ` Hemmann, Volker Armin
2006-02-16 19:40                   ` Alexander Skwar
2006-02-16 20:12                     ` Neil Bothwick
2006-02-16 21:07                       ` Richard Fish
2006-02-16 23:37                         ` Neil Bothwick
2006-02-17  6:02                       ` Alexander Skwar
2006-02-17  7:14                       ` Uwe Thiem
2006-02-16 20:23                     ` Hemmann, Volker Armin
2006-02-17  6:33                       ` Alexander Skwar
2006-02-17 18:04                         ` Hemmann, Volker Armin
2006-02-17 18:19                           ` Richard Fish
2006-02-17 18:38                             ` Alexander Skwar
2006-02-17 19:18                               ` Benno Schulenberg
2006-02-17 19:41                                 ` Daniel da Veiga
2006-02-17 22:15                               ` Hemmann, Volker Armin
2006-02-17 18:35                           ` Alexander Skwar
2006-02-17 22:15                           ` Patrick Börjesson
2006-02-17 23:48                             ` Hemmann, Volker Armin [this message]
2006-02-17 19:52                         ` Maarten
2006-02-17 21:35                           ` Alexander Skwar
2006-02-17 22:36                             ` Rumen Yotov
2006-02-17 23:15                               ` [gentoo-user] /usr as noexec? (was GB for / partition flamewar) Eric Bliss
2006-02-18  0:23                                 ` Maarten
2006-02-18  2:20                                   ` Ryan Tandy
2006-02-18 13:05                                     ` Maarten
2006-02-18 15:53                                       ` Uwe Thiem
2006-02-18 17:51                                         ` Maarten
2006-02-18 20:09                                           ` Hans-Werner Hilse
2006-02-19 19:50                                             ` kashani
2006-02-19 20:27                                               ` Alexander Skwar
2006-02-19 21:08                                                 ` kashani
2006-02-19 21:18                                                   ` Alexander Skwar
2006-02-19 21:37                                                     ` kashani
2006-02-18  5:21                                   ` Rumen Yotov
2006-02-18  9:01                                   ` Neil Bothwick
2006-02-17 22:56                             ` [gentoo-user] How many GB for / partition? Neil Bothwick
2006-02-16 14:58           ` jarry
2006-02-16 15:14             ` Robert Crawford
2006-02-16 15:36               ` Hemmann, Volker Armin
2006-02-16 14:47         ` jarry
2006-02-16 13:03 ` Alexander Skwar
2006-02-16 14:14   ` apn
2006-02-16 14:51     ` Alexander Skwar
2006-02-16 15:04       ` Martin Eisenhardt
2006-02-16 15:15         ` John Jolet
2006-02-16 15:29           ` Martin Eisenhardt
2006-02-16 15:10       ` jarry
2006-02-16 15:30         ` Alexander Skwar
2006-02-16 16:09           ` Martin Eisenhardt
2006-02-16 16:21             ` Alexander Skwar
2006-02-16 20:58               ` Martin Eisenhardt
2006-02-16 15:33         ` Martin Eisenhardt
2006-02-16 17:46           ` Jarry
2006-02-16 18:13             ` Alexander Skwar
2006-02-16 15:50         ` Richard Fish
2006-02-16 13:29 ` Emanuele Morozzi
2006-02-16 14:22 ` Hemmann, Volker Armin
2006-02-16 15:02   ` Richard Fish
2006-02-16 15:48     ` Hemmann, Volker Armin
2006-02-16 18:40       ` Richard Fish
2006-02-16 15:33   ` Alexander Skwar
  -- strict thread matches above, loose matches on Subject: below --
2006-02-17 22:20 John Jolet
2006-02-23 11:07 joaoemanuel1981
2006-02-23 12:04 ` jarry
2006-02-23 13:55   ` Uwe Thiem
2006-02-23 14:05     ` John Jolet
2006-02-23 14:30     ` Dave Nebinger
2006-02-23 16:03       ` Richard Fish
2006-02-23 16:12         ` Dave Nebinger
2006-02-23 18:07           ` Alexander Skwar
2006-02-23 19:38           ` Uwe Thiem
2006-02-23 14:45     ` Abhay Kedia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200602180048.42750.volker.armin.hemmann@tu-clausthal.de \
    --to=volker.armin.hemmann@tu-clausthal.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox