From owner-freebsd-stable@FreeBSD.ORG Sat Jun 9 14:43:24 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 624AE106566C for ; Sat, 9 Jun 2012 14:43:24 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id D377D8FC08 for ; Sat, 9 Jun 2012 14:43:23 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id q59Eh7U7067757; Sat, 9 Jun 2012 16:43:22 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id q59Eh7F2067756; Sat, 9 Jun 2012 16:43:07 +0200 (CEST) (envelope-from olli) Date: Sat, 9 Jun 2012 16:43:07 +0200 (CEST) Message-Id: <201206091443.q59Eh7F2067756@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, sodynet1@gmail.com In-Reply-To: X-Newsgroups: list.freebsd-stable User-Agent: tin/1.9.6-20101126 ("Burnside") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (lurza.secnetix.de [127.0.0.1]); Sat, 09 Jun 2012 16:43:22 +0200 (CEST) Cc: Subject: Re: su problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, sodynet1@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2012 14:43:24 -0000 Sami Halabi wrote: > %id > uid=1001(sody) gid=1001(sody) groups=1001(sody),0(wheel) > % > > i have another account also id 1002 - sody2, also in group wheel. > i can ssh using user sody/sody2, however su doesn't work if i do: su sody2, > when i logged in with user sody. > it seems that su is broken somehow.... Something is definitely broken. Maybe the suid-root bit was accidentally removed from the su binary? What is the output from "ls -l /usr/bin/su"? Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private destructor, and when was the last time you needed one?" -- Tom Cargil, C++ Journal