Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2000 00:52:52 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Ryan Thompson <ryan@sasknow.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Cant su 
Message-ID:  <4.2.2.20000511003353.03ddf900@mail.sentex.net>
In-Reply-To: <Pine.BSF.4.21.0005102118120.90428-100000@ren.sasknow.com>
References:  <4.2.2.20000510202431.03935c20@mail.sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.2.2.20000511003353.03ddf900>