From owner-cvs-src@FreeBSD.ORG Mon Jan 17 20:39:41 2005 Return-Path: Delivered-To: cvs-src@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) Date: Mon, 17 Jan 2005 21:39:38 +0100 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 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/su su.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 20:39:41 -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--