su problem

Sami Halabi sodynet1 at gmail.com
Sun Jun 10 10:26:12 UTC 2012


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 at gmail.com> wrote:
>  > %id
>  > uid=1001(sody) gid=1001(sody) groups=1001(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äftsfuehrung:
> secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
> chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
>
> 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
>



-- 
Sami Halabi
Information Systems Engineer
NMS Projects Expert
FreeBSD SysAdmin Expert


More information about the freebsd-stable mailing list