From owner-freebsd-questions Wed May 10 21:55:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from newmail.sentex.ca (newmail.sentex.ca [207.245.238.163]) by hub.freebsd.org (Postfix) with ESMTP id 3213D37B738 for ; Wed, 10 May 2000 21:55:34 -0700 (PDT) (envelope-from mike@sentex.net) Received: from granite.sentex.net (granite-atm.sentex.ca [209.112.4.1]) by newmail.sentex.ca (8.9.3/8.9.3) with ESMTP id XAA01178; Wed, 10 May 2000 23:53:23 GMT (envelope-from mike@sentex.net) Received: from chimp (ospf-mdt.sentex.net [205.211.164.81]) by granite.sentex.net (8.8.8/8.6.9) with ESMTP id AAA21542; Thu, 11 May 2000 00:55:29 -0400 (EDT) Message-Id: <4.2.2.20000511003353.03ddf900@mail.sentex.net> X-Sender: mdtancsa@mail.sentex.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Thu, 11 May 2000 00:52:52 -0400 To: Ryan Thompson From: Mike Tancsa Subject: Re: Cant su Cc: questions@FreeBSD.ORG In-Reply-To: References: <4.2.2.20000510202431.03935c20@mail.sentex.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 09:30 PM 5/10/2000 -0600, Ryan Thompson wrote: >Mike Tancsa wrote to questions@FreeBSD.ORG: > > > > > I have a test box that is having problems with su. If I do something like > > su username > > > > and give it the wrong password, it just hangs > > > > buildbox% su mdtancsa > > Password: > > Sorry > > > > > > And it just hangs after the sorry. Any ideas what might be going on ? > > > > 3.4-STABLE FreeBSD 3.4-STABLE #0: Mon Mar 6 20:10:37 EST 2000 > > > > ---Mike > >I don't see this behaviour on either of my 3.4 machines (one machine was >updated last week. The other is running from a 2 m.o. cvsup), using >descrypt on one. ... Yeah, I dont on the dozen or so other boxes of mine, just this one. Its been up for 64 days and its been fine up until now. >Define "hangs"... I.e., if this is on a local vty, can you switch to >another? I assume ^C/^Z don't knock it out? Hangs in that su goes no farther. I can hit CTRL+C and stop the process, but thats it. I can su to myself (e.g. uid 2000 can su to uid 2000) but no others including root... To root, if I give it the correct password, it just hangs. If I su to another non priv'd account, same deal. It just hangs. > Does it hang the whole box >(can you ping/login to the machine?). Or is su the only process that's >hanging? Can you do a ps -axl? Is the box using remote passwords? Only su UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 1001 65053 65051 0 18 0 1372 1012 pause Is p4 0:00.07 -tcsh (tcsh) 0 65062 65053 255 4 -2 1020 648 ttywri I<+ p4 0:00.01 su >Have you changed your crypt libs around lately? Are all the links as they >should be? Modtimes sufficiently old? No, nothing changed that I am aware of. ---Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message