Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2012 15:21:29 +0300
From:      Sami Halabi <sodynet1@gmail.com>
To:        Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com>, Oliver Fromme <olli@lurza.secnetix.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: su problem
Message-ID:  <CAEW%2BogZ3H%2BgP86zcme-nuucLyDHmUo05uZ3R7Jc1hBb_7FM4gg@mail.gmail.com>
In-Reply-To: <CAOgwaMvp4AyLNdvENL9rXoP6D6w9JaTJr1ML5uxb28Tg9=W2uQ@mail.gmail.com>
References:  <CAEW%2BogYrUso=nqx4dUx0rhr9XUFMmSSMP-fxNa03pgj8tNF%2B%2Bg@mail.gmail.com> <201206091035.q59AZWFB058742@lurza.secnetix.de> <CAOgwaMvp4AyLNdvENL9rXoP6D6w9JaTJr1ML5uxb28Tg9=W2uQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

%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....

any ideas?

Thanks,
Sami

On Sat, Jun 9, 2012 at 2:07 PM, Mehmet Erol Sanliturk <
m.e.sanliturk@gmail.com> wrote:

>
>
> On Sat, Jun 9, 2012 at 3:35 AM, Oliver Fromme <olli@lurza.secnetix.de>wro=
te:
>
>> Sami Halabi <sodynet1@gmail.com> wrote:
>>  > I Just finished upgrade from FBSD-8.1-R fresh system to FBSD-8.3-p2.
>>  > once done, i created regular accounts, in wheel group.
>>  >
>>  > first all was okay, but suddenly i found my self blocked out, because=
 i
>>  > can't ssh as root, and i can't su either, when i su i get this:
>>  > %su -
>>  > Password:
>>  >
>>  > and it stuck in that state whitout givving me root shell #.
>>
>> What's the output from "id"?  Does it include "0(wheel)"?
>>
>> And are you 100% sure that you know the correct root password?
>> If you don't, you will have to drive to the machine and fix
>> it from the console, I'm afraid.  There's no other way, unless
>> you discover a yet-unknown local root exploit.  ;-)
>>
>> Best regards
>>   Oliver
>>
>>
>> --
>> Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M=
.
>> Handelsregister: Registergericht Muenchen, HRA 74606,  Gesch=E4ftsfuehru=
ng:
>> secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M=
=FCn-
>> chen, HRB 125758,  Gesch=E4ftsf=FChrer: Maik Bachmann, Olaf Erb, Ralf Ge=
bhart
>>
>> FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bs=
d
>>
>> With Perl you can manipulate text, interact with programs, talk over
>> networks, drive Web pages, perform arbitrary precision arithmetic,
>> and write programs that look like Snoopy swearing.
>>
>
>
>
> Please see ,
>
>
> http://www.freebsd.org/cgi/man.cgi?query=3Dlogin.access&sektion=3D5&aprop=
os=3D0&manpath=3DFreeBSD+9.0-RELEASE
>
> http://www.freebsd.org/cgi/man.cgi?query=3Dlogin&apropos=3D0&sektion=3D0&=
manpath=3DFreeBSD+9.0-RELEASE&arch=3Ddefault&format=3Dhtml
>
> http://www.freebsd.org/cgi/man.cgi?query=3Dtelnetd&sektion=3D8&apropos=3D=
0&manpath=3DFreeBSD+9.0-RELEASE
>
> http://www.freebsd.org/cgi/man.cgi?query=3Dlogin.conf&sektion=3D5&apropos=
=3D0&manpath=3DFreeBSD+9.0-RELEASE
>
> and , define remote login capability , otherwise the system will not
> permit remote root login because of it has dangerous security vulnerabili=
ty
> .
>
> Thank you very much .
>
>
> Mehmet Erol Sanliturk
>
>
>
>
>
>
>


--=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%2BogZ3H%2BgP86zcme-nuucLyDHmUo05uZ3R7Jc1hBb_7FM4gg>