From owner-cvs-all@FreeBSD.ORG Mon Jan 17 19:58:00 2005 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 1215116A4CE; Mon, 17 Jan 2005 19:58:00 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEB6A43D46; Mon, 17 Jan 2005 19:57:59 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0HJvxHC075037; Mon, 17 Jan 2005 19:57:59 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0HJvxst075036; Mon, 17 Jan 2005 19:57:59 GMT (envelope-from rwatson) Message-Id: <200501171957.j0HJvxst075036@repoman.freebsd.org> From: Robert Watson Date: Mon, 17 Jan 2005 19:57:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/su su.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, 17 Jan 2005 19:58:00 -0000 rwatson 2005-01-17 19:57:59 UTC FreeBSD src repository Modified files: usr.bin/su su.c 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. Suggsted by: Ivan Voras MFC after: 2 weeks Revision Changes Path 1.76 +33 -3 src/usr.bin/su/su.c