From owner-freebsd-stable@FreeBSD.ORG Sat Jun 9 15:18:00 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 3AE1A106566C for ; Sat, 9 Jun 2012 15:18:00 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id F010B8FC08 for ; Sat, 9 Jun 2012 15:17:59 +0000 (UTC) Received: by obcni5 with SMTP id ni5so5176902obc.13 for ; Sat, 09 Jun 2012 08:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=V+IWLkFyik/iayFozlRPu0rjTxBybfGLdQWbZOzXwUg=; b=sUiYKcHU07DyIMSbxs1CHaa0gvViMvwi/mLLzjlVP7G+7Geq22YwfPKWOTOZd/29ng N8P/qja9od+AExsipFPbMN0qzevWbfLiYs2IEl/8GaJCG8K2a+ZYNC9EbhejFWPX56ME k1Lps2jFDWfaqBEDPeXhauPzhxs5qQHnaXgIJsgYHl9CMeh3qyl/aceiQn0TVvWwy7Hf J5aJe9g5K6BmV47trWEBtRk7oq79xzmCqdMlbQcUqnY2UK6WVLJTZEzPJB3GFI/LlNgJ MhNZ/GIwlgnT8gQIYgERWYrgPoodIuRU/E0f+dUG2QyoyCqmDGhaX7kkF2PM2F6mMpiS UE/g== MIME-Version: 1.0 Received: by 10.182.39.5 with SMTP id l5mr10805753obk.11.1339255079387; Sat, 09 Jun 2012 08:17:59 -0700 (PDT) Received: by 10.182.44.101 with HTTP; Sat, 9 Jun 2012 08:17:59 -0700 (PDT) In-Reply-To: <201206091443.q59Eh7F2067756@lurza.secnetix.de> References: <201206091443.q59Eh7F2067756@lurza.secnetix.de> Date: Sat, 9 Jun 2012 18:17:59 +0300 Message-ID: From: Sami Halabi To: freebsd-stable@freebsd.org, sodynet1@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: su problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 15:18:00 -0000 Hi, %ls -l /usr/bin/su -r-sr-xr-x 1 root wheel 16944 Jun 7 19:47 /usr/bin/su % I don't think this realtred to suid bit, because if so it would give permission denied error... Sami On Sat, Jun 9, 2012 at 5:43 PM, Oliver Fromme wrote= : > Sami Halabi wrote: > > %id > > uid=3D1001(sody) gid=3D1001(sody) groups=3D1001(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=E4ftsfuehrun= g: > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M=FC= n- > chen, HRB 125758, Gesch=E4ftsf=FChrer: Maik Bachmann, Olaf Erb, Ralf Geb= hart > > 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 > --=20 Sami Halabi Information Systems Engineer NMS Projects Expert FreeBSD SysAdmin Expert