Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2012 16:29:06 +0300
From:      Sami Halabi <sodynet1@gmail.com>
To:        David Wolfskill <david@catwhisker.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: su problem
Message-ID:  <CAEW%2BogZWC-LeUvjwmF4h6g7fqWpqs8%2BJ5w5jsGUqRNW8Y6ByUw@mail.gmail.com>
In-Reply-To: <20120609130528.GU13609@albert.catwhisker.org>
References:  <CAEW%2BogYrUso=nqx4dUx0rhr9XUFMmSSMP-fxNa03pgj8tNF%2B%2Bg@mail.gmail.com> <201206091035.q59AZWFB058742@lurza.secnetix.de> <CAOgwaMvp4AyLNdvENL9rXoP6D6w9JaTJr1ML5uxb28Tg9=W2uQ@mail.gmail.com> <CAEW%2BogZ3H%2BgP86zcme-nuucLyDHmUo05uZ3R7Jc1hBb_7FM4gg@mail.gmail.com> <20120609122457.GS13609@albert.catwhisker.org> <CAEW%2BogadUQzu6k1XMXyLkqjEuq-_6gShiG5mRKbBgKMyoviAEg@mail.gmail.com> <20120609123626.GT13609@albert.catwhisker.org> <CAEW%2BogY4zZLj=D9cKuoG58Ozn_UbXjx3GJCT_Gtd4f4zEp3D2A@mail.gmail.com> <20120609130528.GU13609@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
/var/log/messages - no new logs

%id sody2
uid=1002(sody2) gid=1002(sody2) groups=1002(sody2),0(wheel)
%

i did top on one session and followed it after I issued "su -"
the only new process issued is "su" and it stays there even after I supply
the password...

This is really strange, it never happend to me in earlier releases....

even "su sody2" worked, but stopped after a while...

Help me please...

Sami

On Sat, Jun 9, 2012 at 4:05 PM, David Wolfskill <david@catwhisker.org>wrote:

> On Sat, Jun 09, 2012 at 03:47:07PM +0300, Sami Halabi wrote:
> > %su -
> > Password:
> > load: 0.00  cmd: su 30588 [ttydcd] 0.91r 0.00u 0.00s 0% 2092k
> > load: 0.00  cmd: su 30588 [ttydcd] 3.99r 0.00u 0.00s 0% 2092k
> > ...
> > load: 0.00  cmd: su 30588 [ttydcd] 8.35r 0.00u 0.00s 0% 2092k
> > load: 0.00  cmd: su 30588 [ttydcd] 8.53r 0.00u 0.00s 0% 2092k
> > ...
>
> Well, that wasn't as helpful as it might have been, then -- though it
> does clearly indicate that the process isn't waiting on (say) keyboard
> input.
>
> Have you checked messages (e.g., /var/log/messages)?
>
> Also, while you're logged in as your primary account, the output of "id
> sody2" may be useful.
>
> The other thing that comes to mind is that it may be useful for you to
> login (as "sody") twice (i.e., from 2 different xterms, or using a
> "terminal mux" program such as tmux(1) (in ports; sysutils/tmux) so from
> one session, you can try "su sody2" and from the other, you can issue
> commands such as "top" or "ps lwt ttydcd" to see what processes are
> running on the (apparently stalled) session.
>
> It's also possible that there's something wrong with the login shell
> initialization scripts used for sody2.  The above commands may help
> identify that case.
>
> Peace,
> david
> --
> David H. Wolfskill                              david@catwhisker.org
> Depriving a girl or boy of an opportunity for education is evil.
>
> See http://www.catwhisker.org/~david/publickey.gpg for my public key.
>



-- 
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%2BogZWC-LeUvjwmF4h6g7fqWpqs8%2BJ5w5jsGUqRNW8Y6ByUw>