From owner-freebsd-current@FreeBSD.ORG Tue Feb 24 16:07:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F85716A4CE; Tue, 24 Feb 2004 16:07:17 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAA2143D1F; Tue, 24 Feb 2004 16:07:16 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.11/8.12.11) with ESMTP id i1P076Ne033241; Wed, 25 Feb 2004 03:07:06 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.11/8.12.11/Submit) id i1P075kH033236; Wed, 25 Feb 2004 03:07:06 +0300 (MSK) (envelope-from ache) Date: Wed, 25 Feb 2004 03:07:04 +0300 From: Andrey Chernov To: kientzle@acm.org Message-ID: <20040225000702.GC32548@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , kientzle@acm.org, Colin Percival , David Schultz , freebsd-current@FreeBSD.ORG References: <6.0.1.1.1.20040223171828.03de8b30@imap.sfu.ca> <20040224223659.GB69570@VARK.homeunix.com> <6.0.1.1.1.20040224225502.03dcfb10@imap.sfu.ca> <403BE4BC.9070009@kientzle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <403BE4BC.9070009@kientzle.com> User-Agent: Mutt/1.5.5.1i X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.24.0.4; VDF 6.24.0.17 cc: David Schultz cc: freebsd-current@FreeBSD.ORG cc: Colin Percival Subject: Re: What to do about nologin(8)? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 00:07:17 -0000 On Tue, Feb 24, 2004 at 03:56:44PM -0800, Tim Kientzle wrote: > >>(2) Make nologin(8) setgid nobody, so rtld ignores LD_LIBRARY_PATH. > > > > Wearing my member-of-security-team hat, I have to say I'm rather > >unhappy with this idea. It's also been pointed out (by nectar) that > >there are issues with NFS if files are owned by nobody or nogroup. This idea is comes from very narrow vision. What to do, say, with dynamically linked /usr/local/bin/bash? Whole "nologin" story starts again? Please consider that nologin is just innocent single example of general problem with _all_ shells, so it needs to be solved generally too, i.e. in the caller. -- Andrey Chernov | http://ache.pp.ru/