From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FAEvn-0001L1-Cu for garchives@archives.gentoo.org; Fri, 17 Feb 2006 23:22:31 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1HNKtmc031549; Fri, 17 Feb 2006 23:20:55 GMT Received: from holstein.creativecow.net (holstein.creativecow.net [64.71.189.226]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1HNFu1i008685 for ; Fri, 17 Feb 2006 23:15:57 GMT Received: from [10.0.1.6] (66-214-206-154.dhcp.mrba.ca.charter.com [66.214.206.154]) by holstein.creativecow.net (Postfix) with ESMTP id 99CAB2BA277 for ; Fri, 17 Feb 2006 15:15:54 -0800 (PST) From: Eric Bliss Organization: CreativeCow.Net To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /usr as noexec? (was GB for / partition flamewar) Date: Fri, 17 Feb 2006 15:15:22 -0800 User-Agent: KMail/1.9.1 References: <7ae6f8f0602160419w67142523p296a88b3944ce180@mail.gmail.com> <43F641B4.4010700@mid.email-server.info> <1140215813.1141.14.camel@mach.qrypto.org> In-Reply-To: <1140215813.1141.14.camel@mach.qrypto.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602171515.22493.eric@creativecow.net> X-Archives-Salt: 04908ffc-462d-42d6-9992-94fb39ca6c78 X-Archives-Hash: 8fc92bf8599fc19e2314bf0a41b6a613 On Friday 17 February 2006 14:36, Rumen Yotov wrote: > Hi, > Please don't take this post as a signal for more battles. > IMHO there are many true facts from both of you. > Just a few point, as i have some (limited experience with hardened > systems). > 1.For 2-3 years using portage-tree in /var/portage, no problems so far, > all it takes is a symlink in /usr & change in /etc/make.conf file. > So i can mount all /usr as 'noexec'. Forgive me for asking, but how is this possible??? The last time I checked (which was 2 minutes ago...), /usr is where almost all the executables on my system are - /usr/bin, /usr/kde/3.x, /usr/libexec, /usr/sbin... I kinda doubt that I'll ever take advantage of a setup like this (at least on this machine), but I am curious as to how that would work. For my own machine (notebook with only a 60g hd), I only run 4 basic partitions... /boot - 70 meg (big just in case I want extra kernels, splash screens, etc.) swap - 1/2 gig - kinda useless, since I upgraded the RAM from 256m to 2g :-) / - 35 gig - everything else Linux 25~ gig or so - Windows partition so I can run games in their native environment without hassles. Now, obviously, I haven't sub-partitioned my Linux stuff, mainly due to my concerns over a lack of space in general - I don't want to have to worry about ANY lost space to allow room on sub-partitions to not fill up to 100%. Now, if I had a 200 gig drive, I might not be so concerned with space, and it might make some sense for me to set up a few extra partitions. But I don't, and this works for my situation. As I said at the start, I'm simply curious how you would manage to mount the main executable storage area of your system as "noexec". -- Eric Bliss systems design and integration, CreativeCow.Net -- gentoo-user@gentoo.org mailing list