su problem

Sami Halabi sodynet1 at gmail.com
Sat Jun 9 15:18:00 UTC 2012


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 at lurza.secnetix.de>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