From owner-cvs-all@FreeBSD.ORG Sun Jul 3 01:03:03 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 A9B1D16A9E2; Sun, 3 Jul 2005 00:57:22 +0000 (GMT) (envelope-from ps@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F7E644151; Sun, 3 Jul 2005 00:38:42 +0000 (GMT) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id 6E6276D958; Sat, 2 Jul 2005 17:37:38 -0700 (PDT) X-Original-To: ps@mu.org Delivered-To: ps@mu.org Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by elvis.mu.org (Postfix) with ESMTP id 9CF655C985 for ; Mon, 17 Jan 2005 12:39:49 -0800 (PST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 700A45635C for ; Mon, 17 Jan 2005 20:39:49 +0000 (GMT) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 7B48D16A53E; Mon, 17 Jan 2005 20:39:45 +0000 (GMT) Delivered-To: ps@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 538) id 7FD4416A4D0; Mon, 17 Jan 2005 20:39:42 +0000 (GMT) Delivered-To: src-committers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12EBC16A4CE; Mon, 17 Jan 2005 20:39:41 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D61543D1D; Mon, 17 Jan 2005 20:39:40 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id BE138AE693; Mon, 17 Jan 2005 21:39:38 +0100 (CET) From: Pawel Jakub Dawidek To: Robert Watson Message-ID: <20050117203938.GB795@darkness.comp.waw.pl> References: <200501171957.j0HJvxst075036@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TCH5zSpbvKOKdCih" Content-Disposition: inline In-Reply-To: <200501171957.j0HJvxst075036@repoman.freebsd.org> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on elvis.mu.org X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/su su.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 03 Jul 2005 01:03:04 -0000 X-Original-Date: Mon, 17 Jan 2005 21:39:38 +0100 X-List-Received-Date: Sun, 03 Jul 2005 01:03:04 -0000 --TCH5zSpbvKOKdCih Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 17, 2005 at 07:57:59PM +0000, Robert Watson wrote: +> rwatson 2005-01-17 19:57:59 UTC +>=20 +> FreeBSD src repository +>=20 +> Modified files: +> usr.bin/su su.c=20 +> Log: +> If su(1) is run without an effective uid of 0, generate an error to +> the user indicating that su is not running setuid, which may help +> suggest to the user that it should be setuid, or should not be +> running from a file system mounted nosuid. Shouldn't this be done for every setuid utility? Why only su(1)? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --TCH5zSpbvKOKdCih Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFB7CKKForvXbEpPzQRAoq5AKCAh8SMymRB8oXKV4NBdsxarcSLfwCdER7j mCVwlxfCeNiq3HCTxy0z2W4= =RCQt -----END PGP SIGNATURE----- --TCH5zSpbvKOKdCih--