From owner-freebsd-stable@FreeBSD.ORG Mon Jan 17 21:15:24 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64C7B16A4F0; Mon, 17 Jan 2005 21:15:24 +0000 (GMT) Received: from pinus.cc.fer.hr (pinus.cc.fer.hr [161.53.73.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68F9243D5C; Mon, 17 Jan 2005 21:15:22 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [161.53.72.113] (lara.cc.fer.hr [161.53.72.113]) by pinus.cc.fer.hr (8.12.2/8.12.2) with ESMTP id j0HLRo5B016380; Mon, 17 Jan 2005 22:27:51 +0100 (MET) Message-ID: <41EC2ADD.5080006@fer.hr> Date: Mon, 17 Jan 2005 22:15:09 +0100 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0 (X11/20041213) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Watson References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: stable@freebsd.org Subject: Re: cannot su? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 21:15:24 -0000 Robert Watson wrote: > I've modified the su(1) source in HEAD to print a message if su(1) is > executed without an effective uid of 0 (i.e., as root, or setuid as > another user). Hopefully this error message will be more suggestive than > "sorry": > > paprika:~/freebsd/commit/src/usr.bin/su> ./su > su: not running setuid > > Assuming I didn't shoot any feet, I'll MFC this to RELENG_5 in a couple of > weeks. Thanks! :)