From owner-cvs-all@FreeBSD.ORG Tue Nov 18 10:37:44 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 F0E6516A4CE; Tue, 18 Nov 2003 10:37:44 -0800 (PST) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8911043F3F; Tue, 18 Nov 2003 10:37:41 -0800 (PST) (envelope-from danfe@regency.nsu.ru) Received: from mail by mx.nsu.ru with drweb-scanned (Exim 3.35 #1 (Debian)) id 1AMBl5-0004dp-00; Wed, 19 Nov 2003 01:43:31 +0600 Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 3.35 #1 (Debian)) id 1AMBl4-0004d4-00; Wed, 19 Nov 2003 01:43:30 +0600 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.12.9p2/8.12.9) with ESMTP id hAIIdKg1079321; Wed, 19 Nov 2003 00:39:20 +0600 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.12.9p2/8.12.9/Submit) id hAIIdK0v079269; Wed, 19 Nov 2003 00:39:20 +0600 (NOVT) (envelope-from danfe) Date: Wed, 19 Nov 2003 00:39:19 +0600 From: Alexey Dokuchaev To: Robert Watson , src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org Message-ID: <20031118183919.GC49964@regency.nsu.ru> References: <200311170008.hAH08SMA032168@repoman.freebsd.org> <20031117004018.GA49450@VARK.homeunix.com> <20031118183254.GB49964@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031118183254.GB49964@regency.nsu.ru> User-Agent: Mutt/1.4.1i X-Envelope-To: rwatson@freebsd.org, src-committers@freebsd.org, cvs-src@freebsd.org, 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: Tue, 18 Nov 2003 18:37:45 -0000 On Wed, Nov 19, 2003 at 12:32:55AM +0600, Alexey Dokuchaev wrote: > On Sun, Nov 16, 2003 at 04:40:18PM -0800, David Schultz wrote: > > On Sun, Nov 16, 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's presently a shell script, so that isn't possible. However, > > it could be converted into a trivial C program as in OpenBSD, in > > which case it would be very small if statically linked. > > Hmm, is there anything that stops us from pulling oBSD's version? Oops, nevermind, mea culpa. Should read *all* my mail before replying to it. ./danfe