[techtalk] Su slow?

Lyta Alexander lyta at sk.sympatico.ca
Sat Feb 5 14:47:14 EST 2000


is there anything unusual in /var/log/messages when you su?
for example: in mine this line shows up:
Feb  5 13:45:56 teep su[13164]: + tty8 lyta-root


On Fri, 4 Feb 2000, Sunnanvind wrote:

> 
> On Thu, 03 Feb 2000, jdike at karaya.com wrote:
> > > When I hit the enter key after typing in the root password, it takes
> > > like a minute or so. That's much slower than before. 
> > 
> > Did you recently add any new stuff to root's .profile or anything?
> > 
> > Does the same thing happen if you su as root?  If so, try this:
> > 	strace -r -o strace.out su
> > 
> > Then look at the first column in strace.out, which is the time since the last 
> > system call, and keep an eye out for a big number.  The thing right before 
> > that should be the culprit.
> 
> The strace.out was a couple of pages, the biggest number by far was
> 
>      0.000406 read(5, "", 256)          = 0
>     20.108991 --- SIGCHLD (Child exited) ---
> 
> 20.108991 the big number...
> 
> read(5, "", 256) doesn't sound like something comprehensible... should I paste
> more of the strace.out?
> Sunnan
> --
> http://home.swipnet.se/sunnanvind
> I am you.
> 
> ************
> techtalk at linuxchix.org   http://www.linuxchix.org
> 


************
techtalk at linuxchix.org   http://www.linuxchix.org




More information about the Techtalk mailing list