From owner-cvs-all@FreeBSD.ORG Sun Nov 16 16:32:32 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36DCC16A4CE; Sun, 16 Nov 2003 16:32:32 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D11A43F85; Sun, 16 Nov 2003 16:32:31 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hAH0UTMg054345; Sun, 16 Nov 2003 19:30:29 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hAH0UTmR054342; Sun, 16 Nov 2003 19:30:29 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sun, 16 Nov 2003 19:30:29 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: David Schultz In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin nologin.8 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 00:32:32 -0000 On Sun, 16 Nov 2003, Robert Watson wrote: > On Sun, 16 Nov 2003, David Schultz wrote: > > > Modified files: > > sbin/nologin nologin.8 > > Log: > > Document nologin(8) as being insecure in conjunction with a dynamic > > root and suggest alternatives. > > Should we simply be making nologin(8) an except to the dynamic link > defaults? It is pointed out to me that nologin(8) is now a shell script, not a binary. I could have sworn that it was a short C program once, but no longer? In any case, would it make sense to make it a C program (again?) and statically link that? With a dynamically linked root, nologin should now be quite small as a binary rather than a shell script. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories