Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2012 13:26:10 +0300
From:      Sami Halabi <sodynet1@gmail.com>
To:        Oliver Fromme <olli@lurza.secnetix.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: su problem
Message-ID:  <CAEW%2BogZYAwxgFVvHmMUozqDkzy0iXcuNCagyUOY6Wc83xZEGDQ@mail.gmail.com>
In-Reply-To: <201206091443.q59Eh7F2067756@lurza.secnetix.de>
References:  <CAEW%2BogZ3H%2BgP86zcme-nuucLyDHmUo05uZ3R7Jc1hBb_7FM4gg@mail.gmail.com> <201206091443.q59Eh7F2067756@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <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=
)

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 <sodynet1@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEW%2BogZYAwxgFVvHmMUozqDkzy0iXcuNCagyUOY6Wc83xZEGDQ>