Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2012 18:17:59 +0300
From:      Sami Halabi <sodynet1@gmail.com>
To:        freebsd-stable@freebsd.org, sodynet1@gmail.com
Subject:   Re: su problem
Message-ID:  <CAEW%2Bogav0%2Bc4isX5hVBazBp7HrfYhXLmh43KTF45ENVg1px_fg@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,
%ls -l /usr/bin/su
-r-sr-xr-x  1 root  wheel  16944 Jun  7 19:47 /usr/bin/su
%

I don't think this realtred to suid bit, because if so it would give
permission denied error...

Sami

On Sat, Jun 9, 2012 at 5:43 PM, Oliver Fromme <olli@lurza.secnetix.de>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%2Bogav0%2Bc4isX5hVBazBp7HrfYhXLmh43KTF45ENVg1px_fg>