From owner-cvs-all@FreeBSD.ORG Mon Feb 23 00:53:27 2004 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 D263416A4CE; Mon, 23 Feb 2004 00:53:27 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D0FF43D1F; Mon, 23 Feb 2004 00:53:27 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 4458E5309; Mon, 23 Feb 2004 09:53:26 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 2B9FF5308; Mon, 23 Feb 2004 09:53:19 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id CDA2333C6F; Mon, 23 Feb 2004 09:53:18 +0100 (CET) To: Garance A Drosihn References: <200402221003.i1MA3PW0024791@repoman.freebsd.org> <6.0.1.1.1.20040222133540.03c296b0@imap.sfu.ca> <200402221500.38486.wes@softweyr.com> <6.0.1.1.1.20040222230357.03ca6ec0@imap.sfu.ca> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Mon, 23 Feb 2004 09:53:18 +0100 In-Reply-To: (Garance A. Drosihn's message of "Sun, 22 Feb 2004 19:40:22 -0500") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: Wes Peters cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Colin Percival cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sbin/nologin Makefile nologin.c 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, 23 Feb 2004 08:53:28 -0000 Garance A Drosihn writes: > My memory fails me. Wasn't there some specific reason that nologin > is statically-linked? At this point, most programs in /sbin are not > statically-linked. monkey business like LD_LIBRARY_PATH=3D$HOME/evil/lib su foo since nologin isn't suid / sgid, LD_LIBRARY_PATH will be obeyed, which can have interesting results if for instance $HOME/evil/lib contains a libc.so with a "customized" fprintf(). DES --=20 Dag-Erling Sm=F8rgrav - des@des.no