Date: Sun, 10 Jun 2012 20:28:27 +0300 From: Sami Halabi <sodynet1@gmail.com> To: Eugene Grosbein <egrosbein@rdtc.ru> Cc: freebsd-stable@freebsd.org Subject: Re: su problem Message-ID: <CAEW%2BogZBcszoj8TH2z-71WtZyVc9TOJSG6hdyF_yymABV=esbA@mail.gmail.com> In-Reply-To: <4FD4C8AE.4000900@rdtc.ru> References: <CAEW%2BogYrUso=nqx4dUx0rhr9XUFMmSSMP-fxNa03pgj8tNF%2B%2Bg@mail.gmail.com> <201206091035.q59AZWFB058742@lurza.secnetix.de> <CAOgwaMvp4AyLNdvENL9rXoP6D6w9JaTJr1ML5uxb28Tg9=W2uQ@mail.gmail.com> <CAEW%2BogZ3H%2BgP86zcme-nuucLyDHmUo05uZ3R7Jc1hBb_7FM4gg@mail.gmail.com> <20120609122457.GS13609@albert.catwhisker.org> <CAEW%2BogadUQzu6k1XMXyLkqjEuq-_6gShiG5mRKbBgKMyoviAEg@mail.gmail.com> <20120609123626.GT13609@albert.catwhisker.org> <CAEW%2BogY4zZLj=D9cKuoG58Ozn_UbXjx3GJCT_Gtd4f4zEp3D2A@mail.gmail.com> <4FD37CF3.109@rdtc.ru> <CAEW%2BogZ=nC6kGszy=krG8fbAno84AMxaPsrC5Fj1Z4zmtJMALg@mail.gmail.com> <4FD4C8AE.4000900@rdtc.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
But how do I solve the problem? On Sun, Jun 10, 2012 at 7:17 PM, Eugene Grosbein <egrosbein@rdtc.ru> 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: <vendor 0x09da> at usbus0 > > Jun 7 20:18:04 vps16 kernel: ukbd0: <vendor 0x09da USB Keyboard, class > > 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: <vendor 0x09da USB Keyboard, class > > 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: <vendor 0x09da> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEW%2BogZBcszoj8TH2z-71WtZyVc9TOJSG6hdyF_yymABV=esbA>