From owner-freebsd-stable@FreeBSD.ORG Sun Jun 10 10:26:12 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 39F7A106578B for ; Sun, 10 Jun 2012 10:26:12 +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 EFE1E8FC1D for ; Sun, 10 Jun 2012 10:26:11 +0000 (UTC) Received: by obcni5 with SMTP id ni5so6471567obc.13 for ; Sun, 10 Jun 2012 03:26:10 -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 :cc:content-type; bh=DeCmDrfJE2tOgjXb+KNlPO4PiQh5t5q3nb/YLxXM2hc=; b=knwmP4VuL4mfc4qe34RKRBN2+lY7/OU7a6oJEshRae45XWcUQmJR7aSjqQMBWIc7sb NZxcSgsGpJy5rlMdNnY3iyasodvtwo/DM+Im5wYzS5Rguylw9zi7t+lav7ySZP17NZZ/ XtFVLVnCdJ1gYgK8eYRA+Per6ntuIe3Qj82tVvwcXO33PImDhxLtlneekGWHvEhoy/9T N6bQXNxjW+bPDFD9sGzIrWZwKqiQJY024rTheWP0nZffUI8own5r2+ZgswAlde2CdgaE 4tMCana5WDwUzdFqmIbb/1y7XjAGT+N4zC47eAOMBKNH3kBT4THEwUGZsNulVEB9ZjPw XrqQ== MIME-Version: 1.0 Received: by 10.60.9.134 with SMTP id z6mr12869734oea.46.1339323970704; Sun, 10 Jun 2012 03:26:10 -0700 (PDT) Received: by 10.182.44.101 with HTTP; Sun, 10 Jun 2012 03:26:10 -0700 (PDT) In-Reply-To: <201206091443.q59Eh7F2067756@lurza.secnetix.de> References: <201206091443.q59Eh7F2067756@lurza.secnetix.de> Date: Sun, 10 Jun 2012 13:26:10 +0300 Message-ID: From: Sami Halabi To: Oliver Fromme Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org 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: Sun, 10 Jun 2012 10:26:12 -0000 Hi Oliver, I saw you had similar problem for console on 2010 http://freebsd.1045724.n5.nabble.com/Serial-console-problems-with-stable-8-= td3950684.html but the thread wasn't ended by recommendation or conclusions by you. did you solve that problem then? it seems i have something similr. look at the logs: %tail /var/log/messages Jun 7 19:54:35 vps16 kernel: Trying to mount root from ufs:/dev/da0s1a Jun 7 19:54:36 vps16 kernel: bge0: link state changed to UP Jun 7 20:18:04 vps16 kernel: ugen0.2: at usbus0 Jun 7 20:18:04 vps16 kernel: ukbd0: on usbus0 Jun 7 20:18:04 vps16 kernel: kbd2 at ukbd0 Jun 7 20:18:05 vps16 kernel: uhid0: on usbus0 Jun 7 20:19:37 vps16 login: ROOT LOGIN (root) ON ttyv1 Jun 7 20:21:19 vps16 kernel: ugen0.2: at usbus0 (disconnected) Jun 7 20:21:19 vps16 kernel: ukbd0: at uhub0, port 1, addr 2 (disconnected= ) Jun 7 20:21:19 vps16 kernel: uhid0: at uhub0, port 1, addr 2 (disconnected= ) i had a keyboard attached but then removed after the system went up. Thanks in advance, Sami On Sat, Jun 9, 2012 at 5:43 PM, 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