From owner-freebsd-stable@FreeBSD.ORG Sun Jun 10 17:28:28 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 819841065688 for ; Sun, 10 Jun 2012 17:28:28 +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 375668FC18 for ; Sun, 10 Jun 2012 17:28:28 +0000 (UTC) Received: by obcni5 with SMTP id ni5so7042607obc.13 for ; Sun, 10 Jun 2012 10:28:27 -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=ge3oQ15ya7HNNFhV7MPDePKE2CZ8998ajjieJusPQvk=; b=WEjpmjYMQ10PgEFTl6vaOg8NhnatGMzFkCZLGaxbrw892oVoxdfFsJOmCk97sTffZf x75/9ozKpy0i3BqqPO1Gc6LrxK5wDqCP5eEiGIqrS3FhxjU763QjpnqyDjd0oQY78Ml/ bMWHJNdEmNbp44dUprrf1mmarJfIgrRvu1sWWvUEsIP1T6E5q6FXmzpfsDEksEzg0FWy 0wuV50nCHq5y1p9zQA6tXm/hflcebDzG61G9/ghgVY1x1tc90RgKsFc3BWJaUpoIn932 PEo16HF0QgJtV4ZiypXJW6Pgl2d+j6LWYhQ5oZfQNe5aahZQKID2/VoA31NOf2uvZuQP orlQ== MIME-Version: 1.0 Received: by 10.60.29.72 with SMTP id i8mr11165118oeh.26.1339349307581; Sun, 10 Jun 2012 10:28:27 -0700 (PDT) Received: by 10.182.44.101 with HTTP; Sun, 10 Jun 2012 10:28:27 -0700 (PDT) In-Reply-To: <4FD4C8AE.4000900@rdtc.ru> References: <201206091035.q59AZWFB058742@lurza.secnetix.de> <20120609122457.GS13609@albert.catwhisker.org> <20120609123626.GT13609@albert.catwhisker.org> <4FD37CF3.109@rdtc.ru> <4FD4C8AE.4000900@rdtc.ru> Date: Sun, 10 Jun 2012 20:28:27 +0300 Message-ID: From: Sami Halabi To: Eugene Grosbein Content-Type: text/plain; charset=KOI8-R 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 17:28:28 -0000 But how do I solve the problem? On Sun, Jun 10, 2012 at 7:17 PM, Eugene Grosbein wrote: > 10.06.2012 01:45, Sami Halabi =D0=C9=DB=C5=D4: > > Hi, > > > > %sysctl kern.console > > kern.console: ttyv0,dcons,/dcons,ttyv0,uart,ucom, > > > > %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: > 0/0, rev 1.10/2.50, addr 2> on usbus0 > > Jun 7 20:18:04 vps16 kernel: kbd2 at ukbd0 > > Jun 7 20:18:05 vps16 kernel: uhid0: > 0/0, rev 1.10/2.50, addr 2> 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) > > % > > > > the system was loaded with keyboard and disconnected later if i > understand > > the logs... > > > > New ideas are appreciated, and thanks in advance, > > Sami > > I still believe your problem concerns serial console: > su writes to it, indirectly - it notes root login through syslogd > that writes the message to /dev/console and locks in your case, locking s= u. > > Eugene Grosbein > --=20 Sami Halabi Information Systems Engineer NMS Projects Expert FreeBSD SysAdmin Expert