[techtalk] Su slow?

jdike at karaya.com jdike at karaya.com
Thu Feb 3 14:54:23 EST 2000


> 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.  If it turns out to be .profile, then you can turn 
on -x in it, and that should tell you what's happening.

				Jeff



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




More information about the Techtalk mailing list