From owner-freebsd-stable@FreeBSD.ORG Sat Jun 9 13:29:07 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A575C106566C for ; Sat, 9 Jun 2012 13:29:07 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 624D38FC08 for ; Sat, 9 Jun 2012 13:29:07 +0000 (UTC) Received: by obcni5 with SMTP id ni5so5035197obc.13 for ; Sat, 09 Jun 2012 06:29:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wsa9aqSBMqfQrfolHNftjmGhxLv7tGIxXhYjPXuM1LU=; b=cvC295oAkTNWG4NyHn9j3cbOYRl/GOEUmeaxzMWa50w07LqoRox6ieBfgpp22jdMbD 2er/KEHt1V/JVCK4VSaBflYUoYCk9Itm5vMddeSX05OXhoqSeYfOTY5N+NPC2Ls7i2TZ fJxx5fHFAplTjOLnzlMREh+b6eRdsXdAJF/lxJaywhqjCLsNamVv7YjaJvPddyW+FQ7I +7NbANdtXQp2h911WnEy8qo+ViGdc/hJmJI/nc61EriDDl+QbTViMDZw38Vqjk/w9Kh5 mcrQ7o9krPTPvCV5xsKalk5zaYZtg56FLRVQOv+YbJ696lXDLzlr+nbTi65WcbKxYvwa v2/A== MIME-Version: 1.0 Received: by 10.60.19.42 with SMTP id b10mr10679583oee.12.1339248546881; Sat, 09 Jun 2012 06:29:06 -0700 (PDT) Received: by 10.182.44.101 with HTTP; Sat, 9 Jun 2012 06:29:06 -0700 (PDT) In-Reply-To: <20120609130528.GU13609@albert.catwhisker.org> References: <201206091035.q59AZWFB058742@lurza.secnetix.de> <20120609122457.GS13609@albert.catwhisker.org> <20120609123626.GT13609@albert.catwhisker.org> <20120609130528.GU13609@albert.catwhisker.org> Date: Sat, 9 Jun 2012 16:29:06 +0300 Message-ID: From: Sami Halabi To: David Wolfskill Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: su problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2012 13:29:07 -0000 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 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