From owner-freebsd-stable@FreeBSD.ORG Mon Jan 17 14:53:25 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 502B316A4CE for ; Mon, 17 Jan 2005 14:53:25 +0000 (GMT) Received: from pinus.cc.fer.hr (pinus.cc.fer.hr [161.53.73.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6740E43D31 for ; Mon, 17 Jan 2005 14:53: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 j0HF5o5B023590; Mon, 17 Jan 2005 16:05:50 +0100 (MET) Message-ID: <41EBD155.7040309@fer.hr> Date: Mon, 17 Jan 2005 15:53:09 +0100 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0 (X11/20041213) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Nottebrock , stable@freebsd.org References: <41E9B02B.5070602@fer.hr> <200501161541.19290.michaelnottebrock@gmx.net> In-Reply-To: <200501161541.19290.michaelnottebrock@gmx.net> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit 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 14:53:25 -0000 Michael Nottebrock wrote: > On Sunday, 16. January 2005 01:07, Ivan Voras wrote: > >>What could be the reasons for "su root" to not work? >> >>I have a user that's in wheel group. Logging in as root works on the >>console, but su-ing from the user just writes 'Sorry', like the >>password's wrong. There are no clues in log files. > > > Make sure /usr/sbin/su is suid root (and /usr isn't mounted nosuid). Bingo! It's stupid of me not to have checked that, but this is a very good candidate for more information/verbosity - failure mode was just like password/credentials were invalid. I installed the computer from the FreeSBIE live CD, as it already includes a bunch of desktop & multimedia programs I use, and during installation it seems that suid bits were not replicated! Thanks for the help!